2 ms·
I’ve used both but never experienced the issues you describe about the first approach, though your description is pretty vague so maybe I’m not understanding wh
by rco8786 3y ago
I’ve used both but never experienced the issues you describe about the first approach, though your description is pretty vague so maybe I’m not understanding what you’re saying.
My biggest fear with the first approach is that I make a change to my model which in turns causes some sort of unwanted change to my production database. It’s never happened to me, but I worry about it enough to steer away.
My favorite ORM is still ActiveRecord, which falls somewhere in the middle of those two schemas. You define the models (tables), but the columns/types are inferred from the database structure.