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

12 lines
174 B
Ruby

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