convex-migration

Solid

guidance on how to properly do data migrations in Convex

API & Backend 183 stars 39 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
75
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
41
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

**[Full docs](https://www.convex.dev/components/migrations)** Use `@convex-dev/migrations` in `convex/migrations.ts` (reference `convex_migrations.md` for full guidance). The standard flow is: - loosen schema/app to tolerate old+new values - add `migrations.define({ table, migrateOne })` in `convex/migrations.ts` (idempotent; skip no‑ops; no external APIs). - dry run: `npx convex run migrations:runYourFn '{"dryRun":true,"cursor":null}'` - full run: `npx convex run migrations:runYourFn '{"cursor":null}'`* - monitor: `npx convex run --component migrations lib:getStatus --watch` - cancel: `npx convex run --component migrations lib:cancel '{"name":"migrations:yourFnName"}'`. *`"cursor":null` makes it to real work from the start (as opposed to the dry-run default); omit only when resuming from a specific cursor.

Details

Author
majiayu000
Repository
majiayu000/claude-skill-registry
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

convex-migration

guidance on how to properly do data migrations in Convex

3 Updated 1 months ago
majiayu000
API & Backend Solid

convex-migrations

Schema migration strategies for evolving applications including adding new fields, backfilling data, removing deprecated fields, index migrations, and zero-downtime migration patterns

401 Updated 3 months ago
waynesutton
API & Backend Listed

convex-migration-helper

Plans and executes safe Convex schema and data migrations using the widen-migrate-narrow workflow and the @convex-dev/migrations component. Use this skill when a deployment fails schema validation, existing documents need backfilling, fields need adding or removing or changing type, tables need splitting or merging, or a zero-downtime migration strategy is needed. Also use when the user mentions breaking schema changes, multi-deploy rollouts, or data transformations on existing Convex tables.

335 Updated today
aiskillstore
API & Backend Listed

convex-backend

Convex backend development guidelines. Use when writing Convex functions, schemas, queries, mutations, actions, or any backend code in a Convex project. Triggers on tasks involving Convex database operations, real-time subscriptions, file storage, or serverless functions.

1,365 Updated 3 months ago
CloudAI-X
AI & Automation Featured

convex

Convex reactive backend expert: schema design, TypeScript functions, real-time subscriptions, auth, file storage, scheduling, and deployment.

39,350 Updated today
sickn33