diff --git a/go-b2b-starter/Makefile b/go-b2b-starter/Makefile index beaadba..358f82f 100644 --- a/go-b2b-starter/Makefile +++ b/go-b2b-starter/Makefile @@ -20,7 +20,7 @@ stop-deps: # Create a new database migration file create-migration: - @migrate create -ext sql -dir $(MIGRATION_DIR) -seq $(MIGRATION_NAME) + @docker compose -f $(COMPOSE_FILE) run --rm cli migrate create -ext sql -dir $(MIGRATION_DIR) -seq $(MIGRATION_NAME) @echo "Migration created in $(MIGRATION_DIR) with name $(MIGRATION_NAME)" # Apply all up migrations