Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update schema.prisma

Steven Teyd77c771f0dc4
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 35e59320b4..5966b13ae8 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -220,3 +220,28 @@ model Tag {
@@unique([name, projectId])
@@index(projectId)
}
+
+model jackson_index {
+ id Int @id @default(autoincrement())
+ key String @db.VarChar(250)
+ storeKey String @db.VarChar(250)
+
+ @@index([key], map: "_jackson_index_key")
+ @@index([key, storeKey], map: "_jackson_index_key_store")
+}
+
+model jackson_store {
+ key String @id @db.VarChar(250)
+ value String @db.Text
+ iv String? @db.VarChar(64)
+ tag String? @db.VarChar(64)
+ createdAt DateTime @default(now()) @db.Timestamp(0)
+ modifiedAt DateTime? @db.Timestamp(0)
+}
+
+model jackson_ttl {
+ key String @id @db.VarChar(250)
+ expiresAt BigInt
+
+ @@index([expiresAt], map: "_jackson_ttl_expires_at")
+}
\ No newline at end of file