Add keyword field to favorites

This commit is contained in:
2020-06-09 19:30:16 +02:00
parent af88064af9
commit ba2e90386f
18 changed files with 82 additions and 5 deletions
@@ -7,7 +7,7 @@ class CreateFavoritePeople < ActiveRecord::Migration[6.0]
t.string :last_name
t.string :picture_uri
t.string :personal_annotation
t.string :keywords
t.string :personal_keyword
t.timestamps
end
@@ -7,7 +7,7 @@ class CreateFavoriteCourses < ActiveRecord::Migration[6.0]
t.string :semester, null: false
t.string :title, null: false
t.string :personal_annotation
t.string :keywords
t.string :personal_keyword
t.timestamps
end
@@ -5,7 +5,7 @@ class CreateFavoriteTheses < ActiveRecord::Migration[6.0]
t.belongs_to :user
t.string :title
t.string :personal_annotation
t.string :keywords
t.string :personal_keyword
t.timestamps
end
@@ -5,7 +5,7 @@ class CreateFavoriteProjects < ActiveRecord::Migration[6.0]
t.belongs_to :user
t.string :title
t.string :personal_annotation
t.string :keywords
t.string :personal_keyword
t.timestamps
end