What is causing error “ There is no unique constraint matching specific keys for referenced table?
When the query references a column that do not possess the UNIQUE constraint, you will receive the error “There is no unique constraint matching specific keys for referenced table”. It is very necessary in PostgreSQL, that the foreign key references columns that is a primary key or a unique constraint. Since the name…
Answered Jul 25, 2023 · 1.1K Views Read answer →