docs: remove broken db_migrate, note auto-migrations

This commit is contained in:
2026-04-27 21:17:43 +02:00
parent 960273404c
commit 53666bc57f
2 changed files with 2 additions and 9 deletions

View File

@@ -198,13 +198,7 @@ docker exec <container> /server create-user <username> <password>
## Database and testing
Migrations run at startup. Schema history includes auth, watchlist, anime metadata, relation tracking, Jikan cache persistence, and retry-queue support.
To manually run migrations without starting the server:
```bash
just db_migrate
```
Migrations run at startup automatically. Schema history includes auth, watchlist, anime metadata, relation tracking, Jikan cache persistence, and retry-queue support.
There is no CI workflow, so validation is local. Use `just check` to run all checks (lint, test, typecheck, build) or `just install-hooks` to set up the pre-push hook that runs them automatically before each push.

View File

@@ -35,8 +35,7 @@ install-hooks:
dev: build
./server
db_migrate:
go run ./cmd/server migrate
# migrations run automatically at server startup
clean:
rm -rf dist/*