mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
better rename the old values otherwise, trouble
This commit is contained in:
parent
2b9838620d
commit
568a9b1b06
9
db/migrate/20130906081326_rename_system_username.rb
Normal file
9
db/migrate/20130906081326_rename_system_username.rb
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
class RenameSystemUsername < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
execute "update site_settings set name = 'site_contact_username' where name = 'system_username'"
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
execute "update site_settings set name = 'system_username' where name = 'site_contact_username'"
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user