Closed dmr07 closed 7 years ago
Just read the specification that Postgres is supported up to version 2.6.2. I'm using 9.6.2, could this be the cause?
Row insertion doesn't work either. I assume this is due to the model not having synced with the db.
I think I'll stick with postgres queries as unsightly as they are. Would like to come back to Node-ORM if you guys are able to point me to the right direction.
models.user = db.define("user", model_user);
model_user
is a function
in the above, not an object as expected.
See https://github.com/dresende/node-orm2#introduction
db.sync()
does not create all the columns. Please advise:Console output when starting app with no tables.
model_user.js
config_db.js