diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 20:21:26 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 20:21:26 -0500 |
| commit | 57899b0160385c53df4e43ef2fd12492e0dffb77 (patch) | |
| tree | 83f616c406c2d37aec2250bb0c44fcb8d701c177 /prisma/schema.prisma | |
| parent | 6ce2329f5ce20f8352e3ea15594f2532ab8a392c (diff) | |
Reimbursements
Diffstat (limited to 'prisma/schema.prisma')
| -rw-r--r-- | prisma/schema.prisma | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 5ee1575..cc88c4e 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -29,14 +29,15 @@ model Participant { } model Expense { - id String @id - group Group @relation(fields: [groupId], references: [id]) - title String - amount Int - paidBy Participant @relation(fields: [paidById], references: [id]) - paidById String - paidFor ExpensePaidFor[] - groupId String + id String @id + group Group @relation(fields: [groupId], references: [id]) + title String + amount Int + paidBy Participant @relation(fields: [paidById], references: [id]) + paidById String + paidFor ExpensePaidFor[] + groupId String + isReimbursement Boolean @default(false) } model ExpensePaidFor { |
