From 3ea22fd39d08c8bfc8552c0f2c954cd73d90bf09 Mon Sep 17 00:00:00 2001 From: qpismont Date: Mon, 31 Mar 2025 19:46:54 +0000 Subject: [PATCH] Refactor devcontainer configuration: update network settings and container name for improved development environment consistency. --- scripts/migrate.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/migrate.sh diff --git a/scripts/migrate.sh b/scripts/migrate.sh new file mode 100644 index 0000000..4a90a08 --- /dev/null +++ b/scripts/migrate.sh @@ -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