Drizzle create an pg enum with an object as const, should return an error ?
According to the docs I usually create an enum with values like this:
But I was making some tests and migrations and when I pass this the entire object I didn't get an error, so I want to know if it's something related to the types and once I run the migration it's going to explote or not.
The code is the following:
The details of my migraiton it was to use an object as const instead of an enum.

0 Replies