News for hackers. Stuff that matters.
Re:Things to know about databases by zippergz on Monday June 27, 2022 @07:40PM (#31902367)
This is one reason that ORMs which wish to own the database schema make me uncomfortable. How much fun is that schema going to be years down the road when that ORM is out of fashion, but you still need an app working with that data? Some are better than others at doing things in a sane way, of course.
Re:Things to know about databases by Aeolun on Monday June 27, 2022 @08:48PM (#31902823)
Doesn’t really matter though? Even if the ORM is changed, the actual schema is still in the database.

I’ve migrated ORM several times, and the only thing that changes is the entity definition. The database remains the same.

Re:Things to know about databases by motogpjimbo on Tuesday June 28, 2022 @06:53AM (#31906173)
Or even worse, when the ORM is written in a programming language your organisation no longer uses and is part of codebase that is no longer under development.