1.2 KiB
New process around handling database squashes since https://github.com/azerothcore/azerothcore-wotlk/pull/18197
Caution
These steps are only for project maintainers who intend to update base files.
How to do the squash.
Important
A squash needs to be done on a clean database. Drop all tables in Auth, Characters and World.
- Update the acore.json and DB version by running VersionUpdater.ps1 (Located in ..\apps\VersionUpdater)
Note
Read the versionupdater.md file to use it properly.
- Drop all your databases, and run Worldserver to populate a clean database.
- Export the databases using the DatabaseExporter.ps1 (Located in ..\apps\DatabaseExporter)
Note
Read the databaseexporter.md file to use it properly.
- Make a PR
Important
No DB PRs should be merged during this process!
Note
During the DB squash procedure, we do NOT move files. The archive dir is NO longer used as part of the DB squash procedure, but simply as a place where to move update files when they get too many as the
updates
table in base files always will contain the entries from the updates dir they will never be run again on a clean setup.