Merge remote-tracking branch 'remotes/origin/projects_search' into fixes
# Conflicts: # app/views/favorites/projects.html.erb # db/schema.rb
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class CreateFavoriteProjects < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :favorite_projects, id: false do |t|
|
||||
t.integer :id, null: false
|
||||
t.integer :user_id, null: false
|
||||
t.string :title
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
add_index :favorite_projects, :id, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user