🐛(migrations) use settings in migrations

Use settings directly in migrations to avoid noop
migrations. This might have undisered side effects
if we change the config over time 'invalid' data will be
in the database.

It's a simple quick fix.
Keeping some migrations that are no useless to avoid changing
too much the migration history for users.

Similar to https://github.com/suitenumerique/people/commit/
469014ac415b25be0ceed08b31a87d2d40d743cd
This commit is contained in:
Florent Chehab
2026-03-03 09:40:28 +01:00
committed by aleb_the_flash
parent 720eb6a93e
commit 25167495cc
4 changed files with 10 additions and 6 deletions

View File

@@ -12,6 +12,10 @@ and this project adheres to
- 🔒️(backend) enhance API input validation to strengthen security #1053
### Fixed
- 🐛(migrations) use settings in migrations #1058
## [1.9.0] - 2026-03-02
### Added