diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -126,7 +126,14 @@ above. A dump taken with an older version of Blogspace is upgraded at the next start (or with `blogspace migrate`). Deleting a user in `/admin/` drops their blog database — take a dump first if -you may want it back. Blog pools are small (4 connections each, closed when +you may want it back. + +Upgrading from a single database (installs older than the per-blog split): run +the release that contains the split once (it moves each blog into its own +database at start-up), then clear the old migration history so later +migrations apply: `docker compose exec db psql -U blogspace -c "DELETE FROM +goose_db_version WHERE version_id > 1"`. Current releases no longer carry the +split code. Blog pools are small (4 connections each, closed when idle); with many blogs busy at once, raise `max_connections` on the `db` service. ## Layout |
