Creating composite types in PostgreSQL
Hi, I'm curious how I could recreate the following code using drizzle.
Is it simply
Because I ran
\dT
and it didn't show a custom type for the Author in postgres6 Replies
the generated sql simply makes it a text array
@Dan Kochetov
I don't think there is support for this in drizzle
As a workaround you can create a empty migration and write the sql there before running it
the
$type<>()
method, just helps you populate the type in typescriptI see, thank you. I ended up just creating another table