mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
16 lines
280 B
Ruby
16 lines
280 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveCrawlImagesSiteSetting < ActiveRecord::Migration[6.1]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE
|
|
FROM site_settings
|
|
WHERE name = 'crawl_images';
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|