Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit 57ba71d

Browse files
author
condef5
committed
Add favorite model
1 parent 6e613b8 commit 57ba71d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

api/db/schema.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
t.index ["user_id"], name: "index_favorites_on_user_id"
7070
end
7171

72+
create_table "favorites", force: :cascade do |t|
73+
t.bigint "club_id"
74+
t.bigint "user_id"
75+
t.datetime "created_at", null: false
76+
t.datetime "updated_at", null: false
77+
t.index ["club_id"], name: "index_favorites_on_club_id"
78+
t.index ["user_id"], name: "index_favorites_on_user_id"
79+
end
80+
7281
create_table "sport_fields", force: :cascade do |t|
7382
t.string "name"
7483
t.string "description"

0 commit comments

Comments
 (0)