We tried this before, and I'd love to see it happen. Take a look at the abstract-schema branch in SVN for what we did.
-Chad On Aug 18, 2012 1:53 PM, "Daniel Friesen" lists@nadir-seen-fire.com wrote:
We've got a nice abstract query system but our table creation and migrations are horrible. We re-write them for multiple database engines. And as a result extensions need to do the same and often don't. Leading to things being a mess for databases other than MySQL.
While I was doing the sites stuff a syntax for defining tables came to mind and I wrote out an RfC for a method of defining our database abstractly.
https://www.mediawiki.org/**wiki/Requests_for_comment/** Abstract_table_definitionshttps://www.mediawiki.org/wiki/Requests_for_comment/Abstract_table_definitions
-- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
______________________________**_________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/wikitech-lhttps://lists.wikimedia.org/mailman/listinfo/wikitech-l