From ecc50e5d981d11c89da006971e7589b87677bca3 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Sun, 18 Jan 2026 11:59:19 -0500 Subject: [PATCH] fix: Update db-init target to use Python script The Makefile was looking for scripts/db/init.sh which doesn't exist. Updated to call scripts/db/init_schema.py instead. Co-Authored-By: Claude Opus 4.5 --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0d78a06..b18b581 100644 --- a/Makefile +++ b/Makefile @@ -69,11 +69,7 @@ docker-logs: ## View container logs db-init: ## Initialize database schema @echo "$(GREEN)Initializing database schema...$(NC)" - @if [ -f scripts/db/init.sh ]; then \ - bash scripts/db/init.sh; \ - else \ - echo "$(YELLOW)scripts/db/init.sh not found - skipping$(NC)"; \ - fi + $(PYTHON) scripts/db/init_schema.py db-reset: ## Drop and recreate database (DESTRUCTIVE) @echo "$(YELLOW)WARNING: This will delete all data!$(NC)"