use GOPATH for migration script; update postgraphile to watch db schema

This commit is contained in:
Taka Goto
2018-10-01 09:57:25 -05:00
parent 4120a18b7b
commit a850e369ff
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
if [ $# -eq 1 ]
then
$GOBIN/migrate create -dir ./db/migrations -ext sql $1
$GOPATH/bin/migrate create -dir ./db/migrations -ext sql $1
else
echo "**An Error Occurred**"
echo "Usage: ./scripts/create_migration <migration-name>"