update migration script
Some checks failed
Release and Deploy / build (push) Successful in 1m59s
Release and Deploy / deploy (push) Failing after 15s

This commit is contained in:
Fran Jurmanović
2025-07-31 17:56:11 +02:00
parent bb75a8c325
commit e575f641c5

View File

@@ -94,7 +94,8 @@ jobs:
# Run database migrations
Write-Host "Running database migrations..."
try {
& "${{ env.DEPLOY_PATH }}\${{ env.MIGRATE_BINARY }}.exe"
cd "${{ env.DEPLOY_PATH }}"
& "${{ env.MIGRATE_BINARY }}.exe"
} catch {
Write-Warning "Migration failed: $_"
throw "Migration failed"