@levrbet/shared 0.5.53 → 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 -3
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -607,14 +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
|
|
613
|
+
proof Json?
|
|
614
|
+
amount BigInt @default(0)
|
|
615
|
+
nonce Int @default(0)
|
|
616
|
+
spent Boolean @default(false)
|
|
617
|
+
paused Boolean @default(false)
|
|
614
618
|
|
|
615
619
|
campaign FreeBetCampaign @relation(fields: [merkleRoot], references: [merkleRoot])
|
|
616
620
|
|
|
617
|
-
@@unique([merkleRoot, ethAddress])
|
|
621
|
+
@@unique([merkleRoot, ethAddress, nonce])
|
|
618
622
|
@@index([ethAddress])
|
|
619
623
|
}
|
|
620
624
|
|