mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 03:13:44 +08:00
11 lines
256 B
Ruby
11 lines
256 B
Ruby
|
# 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
|