Minor reword in the documentation

Co-authored-by: Olivier 'reivilibre' <oliverw@element.io>
This commit is contained in:
Quentin Gliech
2025-12-10 18:41:36 +01:00
committed by GitHub
parent cca2015920
commit 089bd56c66

View File

@@ -54,7 +54,7 @@ Note that migrations are embedded in the final binary and can be run from the se
### Removing migrations ### Removing migrations
For various reasons, we may want to delete migrations. For various reasons, we may want to delete migrations.
In case we do, we *must* declare that migration version as it is fine to be missing. In case we do, we *must* declare that migration version as allowed to be missing.
This is because on startup, MAS will validate that all the applied migrations are known, and warn if some are missing. This is because on startup, MAS will validate that all the applied migrations are known, and warn if some are missing.
To do so, get the migration version and add it to the `ALLOWED_MISSING_MIGRATIONS` array in the `mas-storage-pg` crate. To do so, get the migration version and add it to the `ALLOWED_MISSING_MIGRATIONS` array in the `mas-storage-pg` crate.