add reload target to the makefile

This commit is contained in:
Benjamin Dauvergne 2013-02-13 22:26:10 +01:00
parent f28b22e1b8
commit 7536782945
1 changed files with 5 additions and 0 deletions

View File

@ -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