2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:36:36 +08:00
discourse/db/migrate/20260210223628_remove_bootstrap_mode_site_settings.rb
Gabriel Grubba edb1c65149
UX: Remove Bootstrap Mode (#37694)
We have been revamping our admin onboarding, and one of the items on our
list was to remove the bootstrap mode.

This mode was disabled by default and hidden.
2026-02-17 16:46:32 -03:00

11 lines
340 B
Ruby

# frozen_string_literal: true
class RemoveBootstrapModeSiteSettings < ActiveRecord::Migration[8.0]
def up
execute "DELETE FROM site_settings WHERE name = 'bootstrap_mode_enabled'"
execute "DELETE FROM site_settings WHERE name = 'bootstrap_mode_min_users'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end