Cannnot push and migrate and cannot figure out the issue. Help appreciated!

Reproduction here: https://drizzle.run/h5jnr6nxrqmid8dcjwf4pfb8 Try running it and youll get the error. PostgresError: there is no unique constraint matching given keys for referenced table "courseOfferingsTable" However, as far as I am concerned everything should be correct? Any ideas?
2 Replies
Jannis
JannisOP3mo ago
The issue seems to go away as soon as i move the pk below the course fk in the schema
Darren
Darren3mo ago
is this a capitalisation issue?
Want results from more Discord servers?
Add your server