Add keyword field in database
This commit is contained in:
parent
de165f3d47
commit
af88064af9
@ -7,6 +7,8 @@ class CreateFavoritePeople < ActiveRecord::Migration[6.0]
|
|||||||
t.string :last_name
|
t.string :last_name
|
||||||
t.string :picture_uri
|
t.string :picture_uri
|
||||||
t.string :personal_annotation
|
t.string :personal_annotation
|
||||||
|
t.string :keywords
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -7,6 +7,7 @@ class CreateFavoriteCourses < ActiveRecord::Migration[6.0]
|
|||||||
t.string :semester, null: false
|
t.string :semester, null: false
|
||||||
t.string :title, null: false
|
t.string :title, null: false
|
||||||
t.string :personal_annotation
|
t.string :personal_annotation
|
||||||
|
t.string :keywords
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
|
|||||||
@ -5,6 +5,7 @@ class CreateFavoriteTheses < ActiveRecord::Migration[6.0]
|
|||||||
t.belongs_to :user
|
t.belongs_to :user
|
||||||
t.string :title
|
t.string :title
|
||||||
t.string :personal_annotation
|
t.string :personal_annotation
|
||||||
|
t.string :keywords
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
|
|||||||
@ -5,6 +5,7 @@ class CreateFavoriteProjects < ActiveRecord::Migration[6.0]
|
|||||||
t.belongs_to :user
|
t.belongs_to :user
|
||||||
t.string :title
|
t.string :title
|
||||||
t.string :personal_annotation
|
t.string :personal_annotation
|
||||||
|
t.string :keywords
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user