convex-migrations

Installation
SKILL.md

Convex Migrations

Migration Strategy

Convex uses a "progressive migration" approach:

  1. Add new optional field to schema
  2. Deploy code that writes to both old and new fields
  3. Run migration to backfill existing data
  4. Deploy code that only uses new field
  5. Remove old field from schema

Adding a New Field

Step 1: Update Schema (Optional Field)

// convex/schema.ts
export default defineSchema({
Related skills

More from aaronvanston/skills-convex

Installs
6
First Seen
Jan 19, 2026