mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-10 09:02:36 +08:00
5fb7c6cfb0
- 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. |
||
---|---|---|
.. | ||
v0.4.0.go | ||
v0.7.0.go |