© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
maeid_kh

Drizzle-kit Multiple primary key defined issue

Hey guys i'm just starting with drizzle i created a basic schema, but every time i run "npx drizzle-kit push:mysql" it succeed the first time only, if I change anything on the schema and re-run npx drizzle-kit push:mysql it fails with the error in the screenshot below
image.png
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

drizzle-kit push error: Multiple primary key defined
Drizzle TeamDTDrizzle Team / help
2y ago
Multiple primary key defined
Drizzle TeamDTDrizzle Team / help
3y ago
Issue with constraint primary key when using drizzle-kit push 2 times.
Drizzle TeamDTDrizzle Team / help
2y ago
Composite primary key, multiple primary keys
Drizzle TeamDTDrizzle Team / help
2y ago