mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 07:57:44 +00:00
10 lines
198 B
Bash
Executable file
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
|