DEV: Remove experimental setting row for chat threads (#22730)

This commit is contained in:
Jan Cernik 2023-07-27 10:29:28 -03:00 committed by GitHub
parent 0aa524821e
commit 807390bb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# frozen_string_literal: true
class RemoveExperimentalSiteSettingForThreads < ActiveRecord::Migration[7.0]
def up
execute "DELETE FROM site_settings WHERE name='enable_experimental_chat_threaded_discussions'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end