I'm looking for a convenient way of storing and managing SQL-table definitions in an application, mostly to make installation easier.
I could just hard code an "install.php" full of CREATE TABLE
, but I figure there are nicer alternatives.
I'm looking for a convenient way of storing and managing SQL-table definitions in an application, mostly to make installation easier.
I could just hard code an "install.php" full of CREATE TABLE
, but I figure there are nicer alternatives.
One answer I've found myself is Doctrines ORM which appears to have a this capability. Would like to hear about other options as well.