2 ms·
I use foreign keys with postgres, I used not to in mysql ~10 years ago. I feel it depends on the level of support of your db / how painful it is to override th
by jokethrowaway 4y ago
I use foreign keys with postgres, I used not to in mysql ~10 years ago.
I feel it depends on the level of support of your db / how painful it is to override things if needed.
Performance can be another reason for skipping them but modern dbs are pretty good.