© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•11mo ago
Ayush Bobale

Issue with migration [push, migrate] command in postgressql

Added a link as well for better readability [contains same content as the steps.txt]

https://rentry.co/drizzle-postgress-const-issue

I am using postgress on supabase, checked on docker as well same issue is replicated.
And unable to to push after pushing second time

Is there something fundamentally wrong that I am doing.
The migration files generated are correct but while pushing there is extra statements for unique id constraints.
This is a smaller schema in which I am able to replicate the issue.
steps.txt5.92KB
Postgress migrations/second push fail due to trying to recreate con...
I am using postgress on supabase, checked on docker as well same issue is replicated.
And unable to to push after pushing second time
Is there something fundamentally wrong that I am doing.
The migration files generated are correct but while pushing there is extra statements for unique id constra...
Postgress migrations/second push fail due to trying to recreate con...
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

Migration issue with PostgresSQL
Drizzle TeamDTDrizzle Team / help
3y ago
Issue with push command
Drizzle TeamDTDrizzle Team / help
2y ago
drizzle-kit unknown command migrate
Drizzle TeamDTDrizzle Team / help
2y ago
postgres push issue
Drizzle TeamDTDrizzle Team / help
3y ago