← Back to list

convex-migration
by ianwatts22
⭐ 0🍴 0📅 Jan 16, 2026
SKILL.md
name: convex-migration description: guidance on how to properly do data migrations in Convex
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 })inconvex/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.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon