Replies: 1 comment 1 reply
-
I have also encountered a similar problem. May I ask if there is a better solution now? |
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
-
Hello,
I'm trying to create a table with some custom types inside of it. I don't want to store those types as is but I just want them to be automatically serialized and deserialized on insert/update/select...
I see that support for it exists at the entity level : see the end of this paragraph.
However, I would prefer my entities to be auto-generated from Migration Schemas, and I see no support for this feature inside the
ColumnDef
object for instance.Does it exist already in the library ?
My solution today is to create a
json
column and after entity generation, I manually change the type of the column, which is not ideal obviously?An example would be able to generate the following from the CLI :
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions