mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:36:36 +08:00
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.
11 lines
340 B
Ruby
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
|