mirror of
https://github.com/discourse/discourse.git
synced 2025-02-03 20:30:44 +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
|