mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +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
|