I've always despised object-relational mapping, at least for creating databases ...

@pft@infosec.exchange

I've always despised object-relational mapping, at least for creating databases (see an example here). It's not as easy to read as a simple SQL file would be. To figure out the underlying schema, I have to either read the whole mapping bloat and understand the mapper logic, or install the software, have it bootstrap the DB and then take it a look at schema. In either case, it's faster for me to write the DB from the scratch instead of reverse-engineering an "open-source" DB.

#ORM #DB