KSDaemon/sails-hook-sequelize

model definitions as Sequelize-Auto

cadrogui opened this issue · 1 comments

Hi, thanks form maintain this repo, its possible that this hook can live with this repo model definition?

https://github.com/sequelize/sequelize-auto

regards, and happy holidays.

Hi @cadrogui ! Thanks!
Well, i do not use sequelize-auto tool. But AFAICS, it is not compatible out of the box.
sequelize-auto uses sequelize.define inside generated model file, but this hook instead just read model properties and options and define model itself.

Happy New Year! Best regards!