discourse/db/migrate/20180913200027_remove_enfor...

10 lines
221 B
Ruby

class RemoveEnforceSquareEmoji < ActiveRecord::Migration[5.2]
def up
execute "DELETE FROM site_settings WHERE name = 'enforce_square_emoji'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end