mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-30 18:25:28 +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
|