Open prezensy opened 2 months ago
Can +1 here, the command was working fine in drizzle-kit: v0.22.8
Have you tried with the --force flag while using push command ?
I tried reproducing with --force flag and still the same issue
I tried with v0.23.1 and looks like its working fine.
It seems the same problem still occurs.
I'm encountering issues with the
drizzle-kit push
command while trying to make schema changes in my Vercel Postgres database. The problem seems related to sequence dependencies that prevent the sequences from being dropped or modified. This issue started after upgrading todrizzle-kit v0.23.0
anddrizzle-orm v0.32.1
.I am using a single database to manage multiple projects, and they are differentiated by table filters. This setup complicates handling sequences and dependencies across different project schemas. Notably, when I downgrade to
drizzle-kit v0.22.8
, the issue is temporarily bypassed. Downgradingdrizzle-orm
does not produce errors, indicating that the issue may be specific to thedrizzle-kit
version.Error Logs:
Environment:
drizzle.config.ts: