feat: add migration container and healthchecks for services
All checks were successful
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 2m11s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m19s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m10s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m1s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m19s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m41s

This commit is contained in:
2025-10-21 10:03:41 -04:00
parent 413145f479
commit 854800247e
2 changed files with 32 additions and 0 deletions

4
bin/migrate.sh Executable file
View File

@@ -0,0 +1,4 @@
eval #!/bin/sh
set -e
migrate -path /app/db/migrations -database "postgres://$DB_USERNAME:$DB_PASSWORD@$DB_HOST:$DB_PORT/$DB_DATABASE?sslmode=disable" up