News for hackers. Stuff that matters.
Re:Do you really need foreign keys? by forinti on Thursday December 21, 2023 @02:22PM (#38725412)
That's the best advice: data will outlive the application.

It will also serve other applications.

So treat it as its own thing, not as an appendix of the application.

Re:Do you really need foreign keys? by postalrat on Thursday December 21, 2023 @04:41PM (#38727403)
Imo better advice would be your data may outlive the schema it's stored in or your application may outlive the data.