Question on how `autoincrement` should work. Using...
# orm-help
a
Question on how
autoincrement
should work. Using Cockroach DB with Prisma
Move model
Copy code
model Move {
  id        BigInt   @id @default(autoincrement())
  matchId   String
1
a
Hey there! When using Cockroach, the
autoincrement()
attribute actually calls Cockroach’s
unique_rowid()
function. You may want to check out the `sequence` attribute. You can read more here.
a
Genius. Thank you. That's more what I was looking for
🚀 1