From 53666bc57f922c6b880317b5691290f8d11eb01a Mon Sep 17 00:00:00 2001 From: mkelvers Date: Mon, 27 Apr 2026 21:17:43 +0200 Subject: [PATCH] docs: remove broken db_migrate, note auto-migrations --- README.md | 8 +------- justfile | 3 +-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e6d1be3..7c3b689 100644 --- a/README.md +++ b/README.md @@ -198,13 +198,7 @@ docker exec /server create-user ## 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. diff --git a/justfile b/justfile index ecde3c3..f676b52 100644 --- a/justfile +++ b/justfile @@ -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/*