mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-23 06:45:27 +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
|