Make init-pgsql makefile command
This commit is contained in:
parent
5ebfb3aa49
commit
a4376be4ae
4
Makefile
4
Makefile
@ -23,7 +23,9 @@ test-ghci:
|
|||||||
test-ghcid:
|
test-ghcid:
|
||||||
ghcid -c "stack ghci --ghci-options -fobject-code esqueleto:test:sqlite"
|
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:
|
reset-pgsql:
|
||||||
-sudo -u postgres dropdb esqutest
|
-sudo -u postgres dropdb esqutest
|
||||||
-sudo -u postgres dropuser esqutest
|
-sudo -u postgres dropuser esqutest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user