mirror of
https://github.com/knadh/listmonk.git
synced 2025-02-26 23:33:15 +08:00
- On boot, the app now checks if the DB version matches its expected version and refuses to start if there are pending migrations to be run. - The new `--upgrade` flag runs data migrations from the last recorded migration (in the settings table) to the latest one in the binary. - Migrations are DB/arbitrary logic functions in .go files in internal/migrations. - All migration functions are idempotent. |
||
---|---|---|
.. | ||
manager | ||
media | ||
messenger | ||
migrations | ||
subimporter |