mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-30 03:46:52 +08:00
Enable theme screenshots to everyone 
10 lines
275 B
Ruby
10 lines
275 B
Ruby
# frozen_string_literal: true
|
|
class RemoveThemeDownloadScreenshotsSiteSettings < ActiveRecord::Migration[7.2]
|
|
def up
|
|
execute "DELETE FROM site_settings WHERE name = 'theme_download_screenshots'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|