Posts by Tarcisio pieroni • 3 points
1 post
-
-2
votes1
answer360
viewsQ: Sequelize error when performing BD registration [Model.hasMany called with Something that’s not a subclass of Sequelize.Model]
I’m doing a Ode project, using sequelize as ORM. I have 4 tables relating [Factor, Subfactor, Obs_factor, Goals], when I will run the create of this error: Error: Factor.hasMany called with…