Skip to content

Commit

Permalink
fix up merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pariah committed Dec 7, 2023
1 parent 09a5dca commit 56a365d
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ model User {
last_name String @default("")
phone String @default("")
PageDonations PageDonation[]
AdvocateFamily Family[] @relation("advocate_family")
Family Family? @relation(name: "family_member", fields: [familyCuid], references: [cuid])
familyCuid String?
Expand All @@ -27,18 +26,18 @@ model User {
}

model Family {
cuid String @id @default(cuid())
family_name String
Stripe_Account_id String?
Stripe_Accont_cuid String?
FamilyMembers User[] @relation("family_member")
created_at String @default("")
updated_at String @default("")
Pages Page[]
FamilyDonations PageDonation[]
FamilyDonationPayouts DonationPayout[]
advocateCuid String @map("advocate_cuid")
AdvocateResponsible User? @relation("advocate_family", fields: [advocateCuid], references: [cuid])
cuid String @id @default(cuid())
family_name String
Stripe_Account_id String?
Stripe_Accont_cuid String?
FamilyMembers User[] @relation("family_member")
created_at String @default("")
updated_at String @default("")
Pages Page[]
FamilyDonations PageDonation[]
FamilyDonationPayouts DonationPayout[]
advocateCuid String @map("advocate_cuid")
AdvocateResponsible User? @relation("advocate_family", fields: [advocateCuid], references: [cuid])
//PageDonations PageDonation[]
//DonationPayouts DonationPayout[]
}
Expand Down

0 comments on commit 56a365d

Please sign in to comment.