@Crell My issue with this SQL file defining the DB structure is that this is now what you would run in your DB as you cannot recreate it from scratch: you need to migrate it from a previous version. So I'd rather make PHP canonical and generate the SQL side (but generating incremental migrations for SQL, not a file starting from scratch) @kboyd