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
> Rolling back attempted migration ...
error: les clés primaires multiples ne sont pas autorisées pour la table « provider_user »
at Connection.parseE (/opt/node_modules/node-pg-migrate/node_modules/pg/lib/connection.js:534:11)
at Connection.parseMessage (/opt/node_modules/node-pg-migrate/node_modules/pg/lib/connection.js:361:17)
at Socket.<anonymous> (/opt/node_modules/node-pg-migrate/node_modules/pg/lib/connection.js:105:22)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
The text was updated successfully, but these errors were encountered:
I'm having a similar issue except I need to put a UNIQUE constraint over multiple columns during table creation. Do I need to use a custom statement in that case?
We should be able to declare a primary key on multiple column.
Here an example:
Actual SQL
Here sql expected
Currently we've got an error:
The text was updated successfully, but these errors were encountered: