lib/generators/talkie/templates/create_talkie_comments.rb in talkie-0.1.0 vs lib/generators/talkie/templates/create_talkie_comments.rb in talkie-0.1.1
- old
+ new
@@ -8,10 +8,9 @@
t.text :body, null: false
t.integer :parent_id
t.integer :lft
t.integer :rgt
t.integer :children_count, default: 0
- t.datetime :deleted_at
t.timestamps null: false
end
add_index :talkie_comments, :commentable_id