apollo-backend/script/migrate
2021-07-05 19:10:09 -04:00

10 lines
198 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$0")/.."
DATABASE_URL=postgres://apollo:@localhost/apollo?sslmode=disable
echo "===> Running migrations..."
migrate -path=./migrations -database=$DATABASE_URL up