convex-migrate

द्वारा get-convex

तैनात Convex ऐप पर @convex-dev/migrations का उपयोग करके स्कीमा माइग्रेट करें और डेटा बैकफिल करें।

npx skills add https://github.com/get-convex/agent-skills --skill convex-migrate

Migrate the schema / data on a live app

Change a deployed schema without breaking existing data: stage the schema change, install @convex-dev/migrations, write a backfill that makes old rows valid, run it, and verify before tightening the validator.

Workflow

  1. Make the new field optional first (so deploy doesn't reject existing rows).
  2. Install @convex-dev/migrations; write a migration that backfills/transforms existing rows.
  3. Run the migration; verify all rows are valid.
  4. Tighten the validator (make the field required) once the backfill is complete.

Rules

  • Never tighten a validator before the backfill completes — it rejects existing rows and breaks the live app.
  • Add new fields as optional first, migrate, then require.
  • Verify row counts before and after.

get-convex की और Skills

convex-performance-audit
get-convex
कॉन्वेक्स प्रदर्शन का ऑडिट करता है: रीड, सब्सक्रिप्शन, राइट कंटेंशन और फंक्शन सीमाएँ। धीमी सुविधाओं, इनसाइट्स निष्कर्षों, OCC विरोधों या रीड एम्प्लीफिकेशन के लिए उपयोग करें।
developmentdatabasedata-analysis
convex
get-convex
सामान्य Convex अनुरोधों को सही प्रोजेक्ट कौशल पर रूट करता है। इसका उपयोग तब करें जब उपयोगकर्ता पूछता है कि किस Convex कौशल का उपयोग करना है या कोई अपर्याप्त रूप से निर्दिष्ट Convex ऐप कार्य देता है।
developmentdatabase
convex-setup-auth
get-convex
Convex प्रमाणीकरण, पहचान मैपिंग और पहुँच नियंत्रण सेट करता है। Convex ऐप में लॉगिन, प्रमाणीकरण प्रदाताओं, उपयोगकर्ता तालिकाओं, संरक्षित फ़ंक्शन या भूमिकाओं के लिए उपयोग करें।
developmentdatabaseapi
convex-quickstart
get-convex
एप्लिकेशन में Convex बनाता या जोड़ता है। नए Convex प्रोजेक्ट्स, npm create convex@latest, फ्रंटएंड सेटअप, env वेरिएबल्स, या पहली npx convex dev रन के लिए उपयोग करें।
developmentdatabase
convex-migration-helper
get-convex
Convex स्कीमा और डेटा माइग्रेशन की योजना widen-migrate-narrow और @convex-dev/migrations के साथ बनाता है। ब्रेकिंग स्कीमा परिवर्तनों, बैकफिल, टेबल रीशेपिंग या जीरो-डाउनटाइम रोलआउट के लिए उपयोग करें।
developmentdatabase
convex-create-component
get-convex
पुन: प्रयोग करने योग्य Convex घटकों का निर्माण करता है जिनमें पृथक तालिकाएँ और ऐप-मुखी API होते हैं। नए घटकों, पुन: प्रयोग करने योग्य बैकएंड मॉड्यूल, एकीकरण या घटक सीमा कार्य के लिए उपयोग करें।
developmentdatabase
convex-optimize
get-convex
मौजूदा Convex ऐप का ऑडिट और अनुकूलन करें: सुरक्षा, स्केल, अपग्रेड, अवलोकन क्षमता।
convex-env
get-convex
ऐप के लिए Convex डिप्लॉयमेंट env vars / secrets सेट और वायर करें।