posts.tags UniqueConstraintViolationException

Issue #40 resolved
Alexey Eschenko repo owner created an issue

Example:

request.CRITICAL: Uncaught PHP Exception
Doctrine\DBAL\Exception\UniqueConstraintViolationException:
 "An exception occurred while executing 
  'INSERT INTO posts.tags (id, text) VALUES (?, ?)'
  with params [44583, "\u0430\u043d\u0442\u0438\u0431\u0438\u043e\u0442\u0438\u043a\u0438"]: 
SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "uniq_115e64e03b8ba7c7"
DETAIL:  Key (text)=(антибиотики) already exists."

Comments (1)

  1. Log in to comment