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
|