3 ms·
With an unique constraint/index
by giovannibonetti 4y ago
With an unique constraint/index
- petepete 4y agoYes, I mentioned the approach elsewhere. Now you have two database things (the FK and the constraint) describing a single relationship. I don't think it's very elegant and people often forget the unique constraint. One table is a much better solution.