fix prisma error
This commit is contained in:
parent
b39af77f1f
commit
dfdf85b320
@ -168,7 +168,7 @@ model Credit {
|
|||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
userId String
|
userId String
|
||||||
amount Float // 交易金额(正数为充值,负数为消费)
|
amount Float // 交易金额(正数为充值,负数为消费)
|
||||||
balance Float // 执行该交易后的余额
|
balance Float @default(0) // 执行该交易后的余额
|
||||||
type String // "system_gift", "subscription_monthly", "user_purchase", "consumption"
|
type String // "system_gift", "subscription_monthly", "user_purchase", "consumption"
|
||||||
category String? // 消费类别: "simulation", "api_call", "export" 等
|
category String? // 消费类别: "simulation", "api_call", "export" 等
|
||||||
note String? // 备注说明
|
note String? // 备注说明
|
||||||
|
Loading…
Reference in New Issue
Block a user