You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
Nice tutorial sir, but i am getting Dequelize DatabaseError while trying to request localhost:8000/api/todos in postman. The below is the output
{
"name": "SequelizeDatabaseError",
"parent": {
"name": "error",
"length": 115,
"severity": "ERROR",
"code": "42P01",
"position": "13",
"file": "src\backend\parser\parse_relation.c",
"line": "984",
"routine": "parserOpenTable",
"sql": "INSERT INTO "Todos" ("id","title","createdAt","updatedAt") VALUES (DEFAULT,'first-todo','2017-06-15 06:11:49.889 +00:00','2017-06-15 06:11:49.889 +00:00') RETURNING *;"
},
"original": {
"name": "error",
"length": 115,
"severity": "ERROR",
"code": "42P01",
"position": "13",
"file": "src\backend\parser\parse_relation.c",
"line": "984",
"routine": "parserOpenTable",
"sql": "INSERT INTO "Todos" ("id","title","createdAt","updatedAt") VALUES (DEFAULT,'first-todo','2017-06-15 06:11:49.889 +00:00','2017-06-15 06:11:49.889 +00:00') RETURNING *;"
},
"sql": "INSERT INTO "Todos" ("id","title","createdAt","updatedAt") VALUES (DEFAULT,'first-todo','2017-06-15 06:11:49.889 +00:00','2017-06-15 06:11:49.889 +00:00') RETURNING *;"
}
Can you please help me out to resolve this error. Thank you
The text was updated successfully, but these errors were encountered: