discourse/db/migrate/20240731143458_remove_chat_default_channel_id.rb

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

11 lines
256 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveChatDefaultChannelId < ActiveRecord::Migration[7.1]
def up
execute "DELETE FROM site_settings WHERE name = 'chat_default_channel_id'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end