Replies: 1 comment 1 reply
-
this is very easy in prisma as they rely on the migration name as primary key for identifying the migration. Too bad in drizzle there is a hash and no easy way to calculate the hash from the CLI |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When adopting drizzle to an existing project, the workflow seems to be:
introspect:pg
to generate the schemaOften the migration cannot be re-run as it contains commands that cannot be reapplied (e.g. re-creating a primary key).
So how can this migration be marked as applied?
Beta Was this translation helpful? Give feedback.
All reactions