discourse/db/migrate/20250507013646_remove_theme_download_screenshots_site_settings.rb
Krzysztof Kotlarek dcc0eff0c7
DEV: remove theme_download_screenshots site setting (#32612)
Enable theme screenshots to everyone

![Screenshot 2025-05-07 at 10 21
48 am](https://github.com/user-attachments/assets/263cc256-c6c6-49ed-bb9b-0ddff9bb1ecb)
2025-05-07 12:09:20 +08:00

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