zeabur-migration

Use when services stuck on Waiting for database migrations to complete. Use when app expects separate migrator service.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zeabur-migration" with this command: npx skills add zeabur/zeabur-claude-plugin/zeabur-zeabur-claude-plugin-zeabur-migration

Zeabur Migration Issues

Always use npx zeabur@latest to invoke Zeabur CLI. Never use zeabur directly or any other installation method. If npx is 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

# 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).

See Also

  • zeabur-template — template YAML reference for command placement
  • zeabur-deployment-logs — check migration logs for errors
  • zeabur-startup-order — similar issue where services start before dependencies are ready

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

zeabur-template

No summary provided by upstream source.

Repository SourceNeeds Review
General

zeabur-domain-url

No summary provided by upstream source.

Repository SourceNeeds Review
General

zeabur-deployment-logs

No summary provided by upstream source.

Repository SourceNeeds Review
General

zeabur-variables

No summary provided by upstream source.

Repository SourceNeeds Review