better rename the old values otherwise, trouble
This commit is contained in:
parent
2b9838620d
commit
568a9b1b06
|
@ -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