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

Commit 0e62512

Browse files
author
Lian Nivin
committed
Add relation to Booking model
1 parent 40c7608 commit 0e62512

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

api/app/models/booking.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
class Booking < ApplicationRecord
2-
2+
belongs_to :user
3+
belongs_to :sport_field
34
end

0 commit comments

Comments
 (0)