trepa/scripts/migrate.sh
qpismont 3ea22fd39d
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Refactor devcontainer configuration: update network settings and container name for improved development environment consistency.
2025-03-31 19:46:54 +00:00

11 lines
238 B
Bash

#!/bin/bash
#Check if the migrate command is available
if ! command -v migrate &> /dev/null; then
echo "migrate could not be found"
exit 1
fi
#Execute migrate up
migrate -path ./migrations -database "$DATABASE_URL" -verbose up