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.

712 B
Raw Blame
model jackson_index {
  id       Int    @id @default(autoincrement())
  key      String @db.VarChar(250)
  storeKey String @db.VarChar(250)

  @@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)
  namespace  String?   @db.VarChar(64)
  createdAt  DateTime  @default(now()) @db.Timestamp(0)
  modifiedAt DateTime? @db.Timestamp(0)

  @@index([namespace], map: "_jackson_store_namespace")
}

model jackson_ttl {
  key       String @id @db.VarChar(250)
  expiresAt BigInt

  @@index([expiresAt], map: "_jackson_ttl_expires_at")
}