waiyaki / postgres-express-node-tutorial

Repository hosting code for the "Getting Started With NodeJS, Express and Postgres Using Sequelize" blogpost.
MIT License
278 stars 103 forks source link

Error when creating todo items #8

Open PerrySong opened 6 years ago

PerrySong commented 6 years ago

Hi, I read your tutorial and I love it. I'm getting this error in the section for creating todo items:

"parent": { "name": "error", "length": 128, "severity": "ERROR", "code": "42703", "position": "31", "file": "parse_target.c", "line": "954", "routine": "checkInsertTargets", "sql": "INSERT INTO \"TodoItems\" (\"id\",\"content\",\"complete\",\"createdAt\",\"updatedAt\",\"todoId\") VALUES (DEFAULT,'',false,'2017-10-08 19:33:17.599 +00:00','2017-10-08 19:33:17.599 +00:00','1') RETURNING *;"

PerrySong commented 6 years ago

Problem solved