Add keyword field to favorites
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -19,6 +19,7 @@ ActiveRecord::Schema.define(version: 2020_05_29_081537) do
|
||||
t.string "semester", null: false
|
||||
t.string "title", null: false
|
||||
t.string "personal_annotation"
|
||||
t.string "personal_keyword"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["user_id"], name: "index_favorite_courses_on_user_id"
|
||||
@@ -31,6 +32,7 @@ ActiveRecord::Schema.define(version: 2020_05_29_081537) do
|
||||
t.string "last_name"
|
||||
t.string "picture_uri"
|
||||
t.string "personal_annotation"
|
||||
t.string "personal_keyword"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["user_id"], name: "index_favorite_people_on_user_id"
|
||||
@@ -41,6 +43,7 @@ ActiveRecord::Schema.define(version: 2020_05_29_081537) do
|
||||
t.integer "user_id"
|
||||
t.string "title"
|
||||
t.string "personal_annotation"
|
||||
t.string "personal_keyword"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["user_id"], name: "index_favorite_projects_on_user_id"
|
||||
@@ -51,6 +54,7 @@ ActiveRecord::Schema.define(version: 2020_05_29_081537) do
|
||||
t.integer "user_id"
|
||||
t.string "title"
|
||||
t.string "personal_annotation"
|
||||
t.string "personal_keyword"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["user_id"], name: "index_favorite_theses_on_user_id"
|
||||
|
||||
Reference in New Issue
Block a user