Hello!
First, I would like to apologize for my poor English, as well as congratulate you on your wonderful work on this package.
The problem - and see that it is a limit of Sequelize - is that when using DataType 'UUIDV4', you must put the type as UUID and defaultValue for UUIDV4. When using sequelize-automate, it imports tables with UUIDV4 field with type UUIDV4 and defaultValue null.
If you want to synchronize this model without making this change manually, you are unable to synchronize it with the database.
I tried to find a way to modify this in the source of your project, but my knowledge of JS is even worse than my English.
I know it's silly, but I hope I could have collaborated with something.
it's all. And again...
Congratulations.
Hello! First, I would like to apologize for my poor English, as well as congratulate you on your wonderful work on this package. The problem - and see that it is a limit of Sequelize - is that when using DataType 'UUIDV4', you must put the type as UUID and defaultValue for UUIDV4. When using sequelize-automate, it imports tables with UUIDV4 field with type UUIDV4 and defaultValue null. If you want to synchronize this model without making this change manually, you are unable to synchronize it with the database. I tried to find a way to modify this in the source of your project, but my knowledge of JS is even worse than my English. I know it's silly, but I hope I could have collaborated with something. it's all. And again... Congratulations.