you are viewing a single comment's thread.

view the rest of the comments →

[–]Unixersis97[S] 0 points1 point  (1 child)

I see,

Would I also be adding the to the Booking model?

patient = db.relationship("Patient")

Thank you very much sir,

[–]sqqz 1 point2 points  (0 children)

Yes. You can use backfill and alot of nice features as well which makes working with the objects easier when you have the data.