@levrbet/shared 0.5.54 → 0.5.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +7 -4
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -607,15 +607,18 @@ model FreeBetCampaign {
|
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
model FreeBetCampaignEntry {
|
|
610
|
-
objectId String
|
|
610
|
+
objectId String @id @default(auto()) @map("_id") @db.ObjectId
|
|
611
611
|
merkleRoot String
|
|
612
612
|
ethAddress String
|
|
613
|
-
proof
|
|
614
|
-
amount
|
|
613
|
+
proof Json?
|
|
614
|
+
amount BigInt @default(0)
|
|
615
|
+
nonce Int @default(0)
|
|
616
|
+
spent Boolean @default(false)
|
|
617
|
+
paused Boolean @default(false)
|
|
615
618
|
|
|
616
619
|
campaign FreeBetCampaign @relation(fields: [merkleRoot], references: [merkleRoot])
|
|
617
620
|
|
|
618
|
-
@@unique([merkleRoot, ethAddress])
|
|
621
|
+
@@unique([merkleRoot, ethAddress, nonce])
|
|
619
622
|
@@index([ethAddress])
|
|
620
623
|
}
|
|
621
624
|
|