mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 15:38:35 +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
|