wikimedia-l | wikisource-l | meta | mediawiki | Phabricator | feedback

Shall we try Doctrine's Database Abstraction Layer for the installer?


One of the suggestions I got after my talk in Tallinn is to try plugging in the Doctrine’s Database Abstraction Layer to manage schema changes for all supported databases.

It is available on and can be easily attached via Composer.


This comes up every once in a while. See e.g. the discussions for
(also related: )

Someone needs to shepherd the proposal through an RfC and then come up with some performance comparisons (performance is what I’d expect to be the main source of skepticism).


Thank you for the pointers! The good thing about the Doctrine’s DBAL is that is not connected to the ORM and you don’t have to use it construct queries if you don’t want to. I’d say we should trying using it just for schema creation/compare and update.

So the closest RFC to this is Doctrine’s way to represent the schema is which kind of looks similar. But of course the devil is in the details.