Makefile: make messages upon database resetting clearer

This commit is contained in:
Midgard 2020-07-25 12:12:11 +02:00
parent 4706f7b5fc
commit db8fc1920c
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -31,9 +31,9 @@ superuser:
.PHONY: reset_db rewrite_migrations
reset_db:
case "$(KERS_DB_BACKEND)" in \
@case "$(KERS_DB_BACKEND)" in \
mysql) printf "Please drop your MySQL/MariaDB tables and press enter"; read; ;; \
sqlite3) rm -f "$(SQLITE_FILE)"; ;; \
sqlite3) echo 'rm -f "$(KERS_SQLITE_FILE)"'; rm -f "$(KERS_SQLITE_FILE)"; ;; \
esac
make migrate
rewrite_migrations: