Replies: 1 comment
-
|
this can be result of invalid migration or db container having a wrong state. Resolution: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting "QueryFailedError: duplicate key value violates unique constraint "pg_type_typname_nsp_index"" when a project is having multiple schema.
npm.log
error in sql:
postgres-trial | 2024-02-27 05:52:43.695 UTC [29] ERROR: duplicate key value violates unique constraint "pg_type_typname_nsp_index" postgres-trial | 2024-02-27 05:52:43.695 UTC [29] DETAIL: Key (typname, typnamespace)=(newtrials, 2200) already exists. postgres-trial | 2024-02-27 05:52:43.695 UTC [29] STATEMENT: CREATE TABLE "newtrials" ("newTrailID" character varying NOT NULL, "newTrialName" character varying NOT NULL, CONSTRAINT "PK_125f911804df7fb74b0f649e8e0" PRIMARY KEY ("newTrailID"))Beta Was this translation helpful? Give feedback.
All reactions