Creating migrations with Enums present (postgres)
Hi!
I'm new to
drizzle
but am trying to create migrations and running into troubles with the auto generation of migration files when an enum is present.
For example:
When I generate a migration (e.g., npx drizzle-kit generate:pg
), I get something like:
This fails however as "statusEnum" is not defined which means i need to make the following (manual) modifications to my migration file...
Is this anticipated? or is there a way to configure it so that these are done automatically?2 Replies