discourse/db/migrate/20211019092048_remove_crawl...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
280 B
Ruby
Raw Normal View History

# 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