Skip to content

Commit 0b22a6b

Browse files
committed
cleanup schema
1 parent 1b38436 commit 0b22a6b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

prisma/schema.prisma

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ model payment_method {
6767
description String?
6868
payment payment[]
6969
payment_releases payment_releases[]
70-
user_default_payment_method user_default_payment_method[]
7170
user_payment_methods user_payment_methods[]
7271
}
7372

@@ -138,12 +137,6 @@ model transaction {
138137
updated_at DateTime? @default(now()) @db.Timestamp(6)
139138
}
140139

141-
model user_default_payment_method {
142-
user_id String @id @db.VarChar(80)
143-
payment_method_id Int
144-
payment_method payment_method @relation(fields: [payment_method_id], references: [payment_method_id], onDelete: Cascade, onUpdate: NoAction, map: "fk_default_payment_method")
145-
}
146-
147140
model user_payment_methods {
148141
id String @id @default(dbgenerated("uuid_generate_v4()")) @db.Uuid
149142
user_id String @db.VarChar(80)

0 commit comments

Comments
 (0)