Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(make): run migrations before starting server in 'make start' (#1069)

pradeep7127f76e3fb8f472
diff --git a/Makefile b/Makefile
index 9230b8b9d3..7ff4e34b4a 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,8 @@ start:
@echo "Backend: http://localhost:$(PORT)"
@echo "Frontend: http://localhost:$(FRONTEND_PORT)"
@bash scripts/ensure-postgres.sh "$(ENV_FILE)"
+ @echo "Running migrations..."
+ cd server && go run ./cmd/migrate up
@echo "Starting backend and frontend..."
@trap 'kill 0' EXIT; \
(cd server && go run ./cmd/server) & \