mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 16:29:25 +08:00
10 lines
143 B
Ruby
10 lines
143 B
Ruby
|
class RenameTable < ActiveRecord::Migration[5.1]
|
||
|
def up
|
||
|
rename_table :users, :persons
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise "not tested"
|
||
|
end
|
||
|
end
|