push:mysql autoincrement error
When running
push:mysql
, drizzle-kit throws this error:
On first push on an empty db this doesn't happen but on a subsequent push it does.
The reservation
table only has one auto-increment (serial
id), so I'm not sure why this happens. Running drizzle-kit introspect:mysql
returns a schema which looks basically identical to the input schema, I'll attach these two files where schema.js
is my schema and schema.ts
is the result of introspect.
Config:
0 Replies