mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 10:23:42 +08:00
4dad7816b2
This commit also hides the new user tips for existing users.
12 lines
349 B
Ruby
12 lines
349 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RenameOnboardingPopupsSiteSetting < ActiveRecord::Migration[7.0]
|
|
def up
|
|
execute "UPDATE site_settings SET name = 'enable_user_tips' WHERE name = 'enable_onboarding_popups'"
|
|
end
|
|
|
|
def down
|
|
execute "UPDATE site_settings SET name = 'enable_onboarding_popups' WHERE name = 'enable_user_tips'"
|
|
end
|
|
end
|