A platform for community discussion. Free, open, simple.
DEV: remove redundant composer tips site settings (#33127)
David Battersby34b42a94928f
diff --git a/db/migrate/20250609115711_remove_composer_tips_site_settings.rb b/db/migrate/20250609115711_remove_composer_tips_site_settings.rbnew file mode 100644index 00000000000..a29bc4e7ba3--- /dev/null+++ b/db/migrate/20250609115711_remove_composer_tips_site_settings.rb@@ -0,0 +1,12 @@+# frozen_string_literal: true+class RemoveComposerTipsSiteSettings < ActiveRecord::Migration[7.2]+ def up+ execute "DELETE FROM site_settings WHERE name='disable_avatar_education_message'"+ execute "DELETE FROM site_settings WHERE name='sequential_replies_threshold'"+ execute "DELETE FROM site_settings WHERE name='warn_reviving_old_topic_age'"+ end++ def down+ raise ActiveRecord::IrreversibleMigration+ end+end