Anidion
DTDrizzle Team
•Created by Anidion on 4/2/2024 in #help
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:
1 replies