Skip to content

Commit

Permalink
Correction de la commande make db-restore (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolok authored Jan 15, 2025
1 parent 7615201 commit 4c554dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
$(DJANGO_ADMIN) migrate

0 comments on commit 4c554dc

Please sign in to comment.