Add timestamps to Topic. Add fields on topic list.

This commit is contained in:
taitus
2017-08-07 13:42:12 +02:00
parent 579a174704
commit c6e48946bd
5 changed files with 12 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ class CreateTopics < ActiveRecord::Migration
t.string :title, null: false
t.integer :author_id
t.references :community, index: true
t.timestamps null: false
end
end
end