mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
docs(self-hosting): take the dump before pulling, not after the pending-migrations line
This commit is contained in:
1 parent
1fe995245b
commit
0d6bbb942d
1 file changed
+3
-3
@@ -394,9 +394,9 @@ HealthLog: Running database migrations...
|
||||
```
|
||||
|
||||
or `HealthLog: Database schema is up to date.` when the image brings none.
|
||||
The line is a notice and does not pause the start. If you see a count and
|
||||
have no dump yet, stop the container (`docker compose stop app`), take the
|
||||
dump, and start it again; the migrations run on that start.
|
||||
The line is a notice and does not pause the start: the migrations run right
|
||||
after it. So the dump belongs before step 2, not after you see the line; by
|
||||
then the database is already being migrated.
|
||||
|
||||
For the ordering on a host where you want the migration result before the
|
||||
new container takes traffic, see [`docs/ops/deploy.md`](../ops/deploy.md).
|
||||
Reference in new issue
Block a user