085_add_article_parent_draft.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
- class AddArticleParentDraft < ActiveRecord::Migration
- def self.up
- add_column :contents, :parent_id, :integer
- end
- def self.down
- remove_column :contents, :parent_id
- end
- end