I'm moving from SQLite to CockroachDB. In my `sche...
# orm-help
a
I'm moving from SQLite to CockroachDB. In my
schema.prisma
I'm now getting this error
2
a
Hey there! You will need to use the
sequence()
function with CockroachDB. It does look like that doc is out of date. I will create an issue to get that updated. Thanks for pointing it out!
👍 2
t
You can keep using
@default(autoincrement())
, but the autoincrement fields have to be BigInt because it corresponds to unique_rowid() on cockroachdb.