From 4c554dc03585fffe41b1415181d5f100c3477525 Mon Sep 17 00:00:00 2001 From: Nicolas Oudard Date: Wed, 15 Jan 2025 11:06:13 +0100 Subject: [PATCH] Correction de la commande make db-restore (#1210) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 31d65c7b6..eb4ea0156 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ endif PYTHON := .venv/bin/python DJANGO_ADMIN := $(PYTHON) manage.py PYTEST := $(PYTHON) -m pytest -DB_URL := postgres://qfdmo:qfdmo@localhost:6543/qfdmo # pragma: allowlist secret +DB_URL := postgres://qfdmo:qfdmo@localhost:6543/qfdmo# pragma: allowlist secret # Makefile config .PHONY: check @@ -160,4 +160,4 @@ db-restore: @DUMP_FILE=$$(find tmpbackup -type f -name "*.pgsql" -print -quit); \ pg_restore -d "$(DB_URL)" --clean --no-acl --no-owner --no-privileges "$$DUMP_FILE" || true rm -rf tmpbackup - $(DJANGO_ADMIN) migrate \ No newline at end of file + $(DJANGO_ADMIN) migrate