-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.log
1 lines (1 loc) · 1.58 KB
/
error.log
1
{"error":{"name":"SequelizeUniqueConstraintError","errors":[{"message":"name must be unique","type":"unique violation","path":"name","value":"matrix II","origin":"DB","instance":{"id":null,"name":"matrix II","type":"NEW_RELEASE","rented":false,"updatedAt":"2020-06-19T17:54:51.348Z","createdAt":"2020-06-19T17:54:51.348Z"},"validatorKey":"not_unique","validatorName":null,"validatorArgs":[]}],"fields":{"name":"matrix II"},"parent":{"length":195,"name":"error","severity":"ERROR","code":"23505","detail":"Key (name)=(matrix II) already exists.","schema":"public","table":"Film","constraint":"Film_name_key","file":"nbtinsert.c","line":"534","routine":"_bt_check_unique","sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;","parameters":["NEW_RELEASE","matrix II",false,"2020-06-19 17:54:51.348 +00:00","2020-06-19 17:54:51.348 +00:00"]},"original":{"length":195,"name":"error","severity":"ERROR","code":"23505","detail":"Key (name)=(matrix II) already exists.","schema":"public","table":"Film","constraint":"Film_name_key","file":"nbtinsert.c","line":"534","routine":"_bt_check_unique","sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;","parameters":["NEW_RELEASE","matrix II",false,"2020-06-19 17:54:51.348 +00:00","2020-06-19 17:54:51.348 +00:00"]},"sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;"},"level":"error","message":"Db error in updateFilm"}