Add keyword field in database

This commit is contained in:
Tobias Eidelpes 2020-06-09 18:14:14 +02:00
parent de165f3d47
commit af88064af9
4 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,8 @@ class CreateFavoritePeople < ActiveRecord::Migration[6.0]
t.string :last_name
t.string :picture_uri
t.string :personal_annotation
t.string :keywords
t.timestamps
end
end

View File

@ -7,6 +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.timestamps
end

View File

@ -5,6 +5,7 @@ class CreateFavoriteTheses < ActiveRecord::Migration[6.0]
t.belongs_to :user
t.string :title
t.string :personal_annotation
t.string :keywords
t.timestamps
end

View File

@ -5,6 +5,7 @@ class CreateFavoriteProjects < ActiveRecord::Migration[6.0]
t.belongs_to :user
t.string :title
t.string :personal_annotation
t.string :keywords
t.timestamps
end