#!/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