You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defines relationship between Transactions and non-Owner Users
Properties
transactionID: ID of Transaction (PK)
participantID: ID of user who is listed on a participant (PK)
participantTotal: how much does the user owe in this particular transaction
isPaid: boolean saying if participant has paid the owner
Associations/References
Both transactionID and participantID are foreign keys referring to Users and Transaction models
Primary key of this model is (transactionID, participantID)