mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 09:03:49 +08:00
12 lines
347 B
Ruby
12 lines
347 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RenameFullPageSiteSetting < ActiveRecord::Migration[7.1]
|
||
|
def up
|
||
|
execute "UPDATE site_settings SET name = 'full_page_login' where name = 'experimental_full_page_login'"
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
execute "UPDATE site_settings SET name = 'experimental_full_page_login' where name = 'full_page_login'"
|
||
|
end
|
||
|
end
|