Johanne
DTDrizzle Team
•Created by hachoter on 1/3/2024 in #help
PostgresError: there is no unique constraint matching given keys for referenced table "table_name"
Nvm, I fixed it with
.unique()
right after the uuid("id")
statement in each table:
3 replies
DTDrizzle Team
•Created by hachoter on 1/3/2024 in #help
PostgresError: there is no unique constraint matching given keys for referenced table "table_name"
I get the exact same error, using:
My tables are as follows:
And the error I get:
And the error I get:
Seeing as drizzle creates the migration, I can't see what is wrong either.
3 replies