Skip to content
Snippets Groups Projects
Commit 965368df authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

add user reference in collection table

parent 4769d5ca
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ class CreateCollections < ActiveRecord::Migration ...@@ -4,6 +4,8 @@ class CreateCollections < ActiveRecord::Migration
t.string :name t.string :name
t.text :description t.text :description
t.string :privacy t.string :privacy
t.references :user, index: true
t.timestamps null: false t.timestamps null: false
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment