2017-08-31 00:06:56 -04:00
|
|
|
class RenameSystemUsername < ActiveRecord::Migration[4.2]
|
2013-09-06 04:16:29 -04:00
|
|
|
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
|