Ladsgroup added a comment.
In T205094#6359584 <https://phabricator.wikimedia.org/T205094#6359584>, @Michael wrote: > - Consider naming schema > - consider sorting files into subdirectories by years or tables or MediaWiki versions One important lack of distinction in wikibase sql files are the fact that it doesn't distinguish between the sql file for a fresh install (the "current schema" i.e. "the CREATE TABLE"s) and upgrade path from an old installation (i.e. "ALTER TABLES"). I think Wikibase.sql and AddNormalizedTermsTablesDDL.sql should go to a separate directory (and possibly merged to one) > - investigate which parts of DatabaseSchemaUpdater can maybe be deleted because they are very old > - we probably can mark everything for deletion older than MediaWiki 1.31 Mediawiki core actually supports upgrading from basically any version. A couple of months ago I got a ticket that I broke upgrading from 1.10 (and people are really upgrading from 1.10 to 1.33), I honestly think this is stupid and people should upgrade in batches (1..10 -> 1.20 -> 1.25 -> 1.33 for example) but for now, that's how it works (maybe we should change or don't comply to it) In T205094#6359591 <https://phabricator.wikimedia.org/T205094#6359591>, @Michael wrote: > We still need to confirm whether abstract schema _changes_ is actually already available. The docs indicate that it is not done yet~~, but they might just be outdated~~. > > This seems to be blocked by T230420: Introduce JSON-based Doctrine-DBAL-based SchemaDiffBuilder <https://phabricator.wikimedia.org/T230420> Some parts of it is not blocked :D TASK DETAIL https://phabricator.wikimedia.org/T205094 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup Cc: Michael, Ladsgroup, daniel, Addshore, Aklapper, Matthias_Geisler_WMDE, Jonas, Akuckartz, Iflorez, darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
