starting accounts #2

Open
qpismont wants to merge 15 commits from accounts into main
Showing only changes of commit 3ea22fd39d - Show all commits

11
scripts/migrate.sh Normal file
View file

@ -0,0 +1,11 @@
#!/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