Make init-pgsql makefile command

This commit is contained in:
parsonsmatt 2018-12-18 15:48:49 -07:00
parent 5ebfb3aa49
commit a4376be4ae

View File

@ -23,7 +23,9 @@ test-ghci:
test-ghcid:
ghcid -c "stack ghci --ghci-options -fobject-code esqueleto:test:sqlite"
# sudo -u postgres createuser -s - esqueleto-test
init-pgsql:
sudo -u postgres -- createuser -s esqutest
reset-pgsql:
-sudo -u postgres dropdb esqutest
-sudo -u postgres dropuser esqutest