News for hackers. Stuff that matters.
Re:We do not use foreign keys (2016) by andreimatei1 on Friday November 08, 2019 @04:12PM (#21486827)
At GitHub they should be using CockroachDB (:P), a scalable relational database that also supports schema changes. Then their FKs would work just fine (albeit with some performance implications).
Re:We do not use foreign keys (2016) by hw on Friday November 08, 2019 @04:19PM (#21486910)
Or, just not use FKs at all. There are many factors to consider when deciding on a DB, and being able to use FKs is probably not high on the list.
Re:We do not use foreign keys (2016) by brlewis on Friday November 08, 2019 @04:33PM (#21487056)
>being able to use FKs is probably not high on the list.

No, that's not at all probable. For many, "database" is synonymous with "ACID database", for which foreign keys are important. https://en.wikipedia.org/wiki/ACID#Consistency