sequelize-fixtures icon indicating copy to clipboard operation
sequelize-fixtures copied to clipboard

The link to official example of how to load models is not working

Open giorgosera opened this issue 4 years ago • 1 comments

Hey there,

The link in the README https://github.com/sequelize/express-example/blob/master/models/index.js doesn't work anymore.

I'm trying to figure out how to work with this library but it's not very clear now that the example is not there.

Thank you!

giorgosera avatar Jul 21 '20 19:07 giorgosera

Hi, I guess my answer is too late but try this :

const models = { modelName: Model }

RaphaelTo avatar May 17 '21 11:05 RaphaelTo