zeabur-migration
Use when services stuck on Waiting for database migrations to complete. Use when app expects separate migrator service.
How do I install this agent skill?
npx skills add https://github.com/zeabur/agent-skills --skill zeabur-migrationIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides troubleshooting guidance and configuration examples for resolving database migration issues on the Zeabur platform. It utilizes the official Zeabur CLI and standard application deployment patterns.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Zeabur Migration Issues
Always use
npx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Symptom
Waiting for database migrations to complete...
Waiting for database migrations to complete...
(repeating forever)
Cause
App expects migrations to run separately, but no migrator service exists.
Solutions
Option A: Add migration to API startup (edit template YAML — use the zeabur-template skill for reference)
# In api service — command MUST be inside source
spec:
source:
image: myapp:latest
command:
- /bin/sh
- -c
- "python manage.py wait_for_db && python manage.py migrate && exec ./entrypoint.sh"
Option B: Add migrator service
- name: migrator
spec:
source:
image: same-backend-image
command:
- ./bin/docker-entrypoint-migrator.sh
env:
DATABASE_URL: ...
Option A is simpler - migrations run on API startup and are idempotent (safe to repeat).
To check migration logs for errors, use the zeabur-deployment-logs skill. If the issue is about services starting before dependencies are ready (not migration-specific), use the zeabur-startup-order skill instead.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/zeabur/agent-skills/zeabur-migration">View zeabur-migration on skillZs</a>