From 7536782945be45b471406fa1fda7b831fe34027c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 13 Feb 2013 22:26:10 +0100 Subject: [PATCH] add reload target to the makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 0c68d719..e8f06fff 100644 --- a/Makefile +++ b/Makefile @@ -15,3 +15,8 @@ load: createdb calebasse scp aps-prod:/home/calebasse/$(LAST_DUMP) . bzip2 -dc ./$(LAST_DUMP) | psql calebasse + +reload: + dropdb calebasse + createdb calebasse + bzip2 -dc ./$(LAST_DUMP) | psql calebasse