discourse/db/migrate/20180913200027_remove_enforce_square_emoji.rb

12 lines
252 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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