mozilla-sensorweb / sensorthings

Node implementation of the OGC SensorThings API
Mozilla Public License 2.0
14 stars 9 forks source link

exclude db.js when creating sequelize models #166

Closed russnicoletti closed 7 years ago

russnicoletti commented 7 years ago

When creating sequelize models and associating them with the model name (an entity name), db.js is included in the list of files from which to create a model mapping. This file should be excluded since it does describe an entity.

The result is the db object contains a null key for the nonexistent db.js sequelize mapping.

ferjm commented 7 years ago

Fixed by #170