sequelize-auto
sequelize-auto copied to clipboard
Support comments on tables with postgres
Currently column comments are exported to the sequelize models with sequelize-auto, it'd be nice if the table comments would be exported as well.
Makes sense. Where should they go?
https://sequelize.org/master/class/lib/model.js~Model.html#static-method-init on the options.comment?
Then I suppose the returned Model class would need a public static method Model#getComment() and Model#setComment() ?
Also, i'm happy to put in a PR if this looks like it would be worth while to do.