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
So line 9 should be:
ALTER TABLE "Identifier" ADD CONSTRAINT "fkIdentifierEntity" FOREIGN KEY ("entityId") REFERENCES "Entity" ("id");
But this generates an error - since the Entity table has not yet been created.
The text was updated successfully, but these errors were encountered:
NodeJS-Application/schemas/Identifier.js
Line 4 in 5749fec
One-to-one relations should be to the Entity table. So line 4 should be:
entity: '?Entity',
in structure.sql file:
NodeJS-Application/db/structure.sql
Line 9 in 5749fec
So line 9 should be:
ALTER TABLE "Identifier" ADD CONSTRAINT "fkIdentifierEntity" FOREIGN KEY ("entityId") REFERENCES "Entity" ("id");
But this generates an error - since the Entity table has not yet been created.
The text was updated successfully, but these errors were encountered: