discourse/spec/fixtures/migrate/rename_table/20990309014014_rename_table.rb
2018-03-27 13:18:13 +11:00

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