socialforge/db/migrate/20170328064900_rename_paren...

9 lines
145 B
Ruby

class RenameParentIdInShixun < ActiveRecord::Migration
def up
rename_column :myshixuns, :parent_id, :shixun_id
end
def down
end
end