Hacker News new | ask | show | jobs
by zippergz 1456 days ago
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.
2 comments

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.

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.