mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 15:44:38 +08:00
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
|