mxwcore-wotlk/data/sql/base/database-squash.md
2025-09-29 02:27:58 -04:00

27 lines
863 B
Markdown

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.
## Requirements
1. MySQL
2. mysqldump
## Usage
> [!IMPORTANT]
> A squash needs to be done on a clean database. Drop all tables in Auth, Characters and World.
1. Run DatabaseSquash.sh (Located in ..\apps\DatabaseSquash\)
2. 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.