mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 20:58:29 +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
|