Closed hugodes closed 4 years ago
@matmar10
having the same issue - did you find a work-around?
It's coming from this line: this.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'.");
My fixtures contained an attribute that I removed from the model earlier, removing them fixed it.
Would still be great to see the log message instead of this error :)
I made PR that fixes the issue here: #114
Can someone please merge the PR fix so that it gets updated?
Since the latest update I've been getting this error on the .loadFiles() method.
I call
And get the error
It seems to be linked to node_modules/sequelize-fixtures/lib/loader.js:249:29 which was changed in this commit : https://github.com/domasx2/sequelize-fixtures/commit/d8f7150ece249a42923ed4af01457bd7c55f85ea