removes children_count from Comment

This commit is contained in:
Juanjo Bazán
2015-09-03 16:33:29 +02:00
parent b7518fe98f
commit bf017a8557
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class RemoveChildrenCountFromComments < ActiveRecord::Migration
def change
remove_column :comments, :children_count, :integer, default: 0
end
end