mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:43:39 +08:00
10 lines
221 B
Ruby
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
|