mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -05:00
9 lines
292 B
Ruby
9 lines
292 B
Ruby
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
|