@@ -107,21 +107,21 @@ model payment_releases {
107
107
108
108
model payoneer_payment_method {
109
109
id Int @id @default (autoincrement () )
110
- user_payment_method_id String @db.Uuid
110
+ user_payment_method_id String ? @db.Uuid
111
111
user_id String @unique @db.VarChar (80 )
112
112
payee_id String @db.VarChar (50 )
113
113
payoneer_id String ? @db.VarChar (50 )
114
- user_payment_methods user_payment_methods @relation (fields : [user_payment_method_id ] , references : [id ] , onDelete : Cascade , onUpdate : NoAction , map : " fk_payoneer_user_payment_method " )
114
+ user_payment_methods user_payment_methods ? @relation (fields : [user_payment_method_id ] , references : [id ] , onDelete : Cascade , onUpdate : NoAction , map : " fk_payoneer_user_payment_method " )
115
115
}
116
116
117
117
model paypal_payment_method {
118
118
id Int @id @default (autoincrement () )
119
- user_payment_method_id String @db.Uuid
119
+ user_payment_method_id String ? @db.Uuid
120
120
user_id String @unique @db.VarChar (80 )
121
121
email String ? @db.VarChar (150 )
122
122
payer_id String ? @db.VarChar (50 )
123
123
country_code String ? @db.VarChar (2 )
124
- user_payment_methods user_payment_methods @relation (fields : [user_payment_method_id ] , references : [id ] , onDelete : Cascade , onUpdate : NoAction , map : " fk_paypal_user_payment_method " )
124
+ user_payment_methods user_payment_methods ? @relation (fields : [user_payment_method_id ] , references : [id ] , onDelete : Cascade , onUpdate : NoAction , map : " fk_paypal_user_payment_method " )
125
125
}
126
126
127
127
model reward {
0 commit comments