New answers tagged unique-key
You can't create a foreign key that targets a relation without a unique constraint in PostgreSQL. I'm somewhat astonished to hear that you can in MySQL. It's really against the principle of a "foreign key" - if you can have multiple values, then the target is not in fact a key at all, it's just another data column. That said, PostgreSQL isn't just ...
Top 50 recent answers are included