add field for storing personal_annotation string

This commit is contained in:
Pfingstfrosch 2020-06-04 21:51:52 +02:00
parent c82ba79776
commit 81a7e16bae
4 changed files with 4 additions and 0 deletions

View File

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

View File

@ -5,6 +5,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.integer :user_id, null: false t.integer :user_id, null: false
t.string :personal_annotation
t.timestamps t.timestamps
end end

View File

@ -4,6 +4,7 @@ class CreateFavoriteTheses < ActiveRecord::Migration[6.0]
t.integer :id, null: false t.integer :id, null: false
t.integer :user_id, null: false t.integer :user_id, null: false
t.string :title t.string :title
t.string :personal_annotation
t.timestamps t.timestamps
end end

View File

@ -4,6 +4,7 @@ class CreateFavoriteProjects < ActiveRecord::Migration[6.0]
t.integer :id, null: false t.integer :id, null: false
t.integer :user_id, null: false t.integer :user_id, null: false
t.string :title t.string :title
t.string :personal_annotation
t.timestamps t.timestamps
end end