3 ms·
True, but going from there to "foreign keys are bad" is still quite a jump. There are other options available for migrations as well, but I understand that it c
by leononame 3y ago
True, but going from there to "foreign keys are bad" is still quite a jump. There are other options available for migrations as well, but I understand that it can become a trade-off at scale, especially if availability and uptime are more important than data integrity. But as I said, it's a trade-off and I suppose in most situations you won't have noticeable downtime due to migrations or you can even avoid downtime altogether without ditching foreign keys.