Refactor devcontainer configuration: update network settings and container name for improved development environment consistency.
This commit is contained in:
parent
dabfc43678
commit
3ea22fd39d
1 changed files with 11 additions and 0 deletions
11
scripts/migrate.sh
Normal file
11
scripts/migrate.sh
Normal 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
|
Loading…
Reference in a new issue