Revert "removecomments"

This reverts commit 6ee1468ce3.
This commit is contained in:
Andreas Stephanides
2014-10-17 09:54:39 +02:00
parent 3a8f84d9b4
commit 699517fb56
19 changed files with 296 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.integer :user_id
t.integer :commentable_id
t.string :commentable_type
t.text :text
t.integer :parent_id
t.integer :lft
t.integer :rgt
t.integer :depth
t.boolean :hidden
t.boolean :official
t.boolean :intern
t.boolean :anonym
t.timestamps
end
end
end