convex-seed
Seed or import data into the Convex database.
- 35,460
- installs
- 0 up / 0 down, score 0.00
- votes
- 66
- repo stars
- Updated
- less than a month ago
- In the catalog since
- 16 Oct 2026
- From
- convex/agent-skills
Skill instructions
Rendered from the published SKILL.md, 19 lines.
Seed / import data
Populate tables via an internalMutation seed function (re-runnable) or npx convex import, matching the schema.
Workflow
- For fixtures: write an internalMutation that inserts sample rows; run it with
npx convex run. - For bulk import: shape the data to the schema and use
npx convex import. - Make seeding idempotent (clear-then-insert or upsert) so re-running is safe.
- Verify row counts.
Rules
- Seed via internalMutation or convex import, matching validators.
- Make seeding idempotent.
- Never seed secrets/PII into a shared deployment.