discourse/db/migrate/20180913200027_remove_enfor...

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

12 lines
252 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-14 03:49:32 -04:00
class RemoveEnforceSquareEmoji < ActiveRecord::Migration[5.2]
2018-09-14 05:09:36 -04:00
def up
2018-09-14 03:49:32 -04:00
execute "DELETE FROM site_settings WHERE name = 'enforce_square_emoji'"
end
2018-09-14 05:09:36 -04:00
def down
raise ActiveRecord::IrreversibleMigration
end
2018-09-14 03:49:32 -04:00
end