Skip to content

A platform for community discussion. Free, open, simple.

DEV: remove experimental lightbox site setting (#36377)

David Battersby2fa5d0dfed77
diff --git a/db/migrate/20251202101647_remove_experimental_lightbox_site_setting.rb b/db/migrate/20251202101647_remove_experimental_lightbox_site_setting.rb
new file mode 100644
index 00000000000..48413c6d1c2
--- /dev/null
+++ b/db/migrate/20251202101647_remove_experimental_lightbox_site_setting.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class RemoveExperimentalLightboxSiteSetting < ActiveRecord::Migration[8.0]
+ def up
+ execute "DELETE FROM site_settings WHERE name='experimental_lightbox'"
+ end
+
+ def down
+ raise ActiveRecord::IrreversibleMigration
+ end
+end