discourse/db/migrate/20180913200027_remove_enforce_square_emoji.rb

10 lines
221 B
Ruby
Raw Normal View History

2018-09-14 15:49:32 +08:00
class RemoveEnforceSquareEmoji < ActiveRecord::Migration[5.2]
2018-09-14 17:09:36 +08:00
def up
2018-09-14 15:49:32 +08:00
execute "DELETE FROM site_settings WHERE name = 'enforce_square_emoji'"
end
2018-09-14 17:09:36 +08:00
def down
raise ActiveRecord::IrreversibleMigration
end
2018-09-14 15:49:32 +08:00
end