Create composite types #612
PreetamSing
started this conversation in
Ideas
Replies: 1 comment
|
There isn't support for composite type. Although as you have seen, there's a placeholder. But since Composite type is Postgres-only, you might as well just write raw SQL. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What I'm trying to do:
I couldn't find any way to do this in my migrations. What I need is a (rough) equivalent of how we create enum types in the following code, but instead for creating composite types:
Digging a little bit, I found this commented variant of
TypeAsenum:sea-query/src/extension/postgres/types.rs
Line 63 in 3cb9247
Let me know, if there are any existing solutions for this.
All reactions