discourse/spec/fixtures/migrate/rename_table/20990309014014_rename_table.rb

10 lines
143 B
Ruby
Raw Normal View History

class RenameTable < ActiveRecord::Migration[5.1]
def up
rename_table :users, :persons
end
def down
raise "not tested"
end
end