Makefile: make messages upon database resetting clearer
This commit is contained in:
parent
4706f7b5fc
commit
db8fc1920c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -31,9 +31,9 @@ superuser:
|
||||||
|
|
||||||
.PHONY: reset_db rewrite_migrations
|
.PHONY: reset_db rewrite_migrations
|
||||||
reset_db:
|
reset_db:
|
||||||
case "$(KERS_DB_BACKEND)" in \
|
@case "$(KERS_DB_BACKEND)" in \
|
||||||
mysql) printf "Please drop your MySQL/MariaDB tables and press enter"; read; ;; \
|
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
|
esac
|
||||||
make migrate
|
make migrate
|
||||||
rewrite_migrations:
|
rewrite_migrations:
|
||||||
|
|
Loading…
Reference in a new issue