Closed TKNgu closed 4 years ago
Writing a custom migration will fix this. The auto migration (from BotServer: Migration {}
) is not able to correctly detect that language
is really a String
. It sees it as a custom type and wants to store is as JSON.
Thank for help. But why when create table and insert it not work same ? Sorry for my English.
I'm not sure how to explain it better beyond my original answer, sorry. You'll need to write the migration manually.
I build simple model:
log:
On SQL language is type JSON. But when iinsert type is string.
How I can fix it ?