convex-migrations

Installation
Summary

Safe schema evolution with optional fields, batched backfills, and zero-downtime migration patterns.

  • Supports adding fields as optional, backfilling data in batches, renaming fields, removing deprecated fields, and changing field types through multi-step migrations
  • Includes a migration tracking system to prevent re-running completed migrations and monitor progress across batches
  • Provides patterns for index management, type conversions with fallback logic, and graceful handling of undefined values during transitions
  • Uses Convex's scheduler for batched processing of large datasets and internal mutations to coordinate schema changes with data updates
SKILL.md

Convex Migrations

Evolve your Convex database schema safely with patterns for adding fields, backfilling data, removing deprecated fields, and maintaining zero-downtime deployments.

Documentation Sources

Before implementing, do not assume; fetch the latest documentation:

Instructions

Migration Philosophy

Convex handles schema evolution differently than traditional databases:

Related skills
Installs
1.8K
GitHub Stars
396
First Seen
Jan 23, 2026