added user_id to favorite_people model

This commit is contained in:
Pfingstfrosch
2020-05-16 12:21:48 +02:00
parent 9dcb2994e1
commit 8ca0f74276
2 changed files with 4 additions and 3 deletions
@@ -1,10 +1,10 @@
class CreateFavoritePeople < ActiveRecord::Migration[6.0]
def change
create_table :favorite_people, id: false do |t|
t.string :tiss_id, null: false
t.integer :tiss_id, null: false
t.integer :user_id, null: false
t.string :first_name
t.string :last_name
t.string :picture_uri
t.timestamps