You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add a new unique() constraint on a exsited column and then run drizzle-kit push, it was not applied. Furthermore, when I run drizzle-kit generate the output shows No schema changes, nothing to migrate.
Expected behavior
No response
Environment & setup
No response
The text was updated successfully, but these errors were encountered:
The idea is to run bun run generate, then comment the current table definition that doesn't have the unique index and uncomment the definition with the index.
The expected behavior is that the first bun run generate creates the SQL to create that table, and the second bun run generate should add the unique constraint, but it doesn't detect the changes.
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.21.1
Describe the Bug
When I add a new unique() constraint on a exsited column and then run
drizzle-kit push
, it was not applied. Furthermore, when I rundrizzle-kit generate
the output showsNo schema changes, nothing to migrate
.Expected behavior
No response
Environment & setup
No response
The text was updated successfully, but these errors were encountered: