skills/smithery.ai/db-reset-local

db-reset-local

Installation
SKILL.md

Use this when you need a clean local database state.

Canonical command

  • npm run db:reset:local

What it does

  • Resets the local Supabase database (npx supabase db reset --local).
  • Ensures the local prisma DB user exists (node scripts/create-prisma-user.js).
  • Resets Prisma migrations (prisma migrate reset).
  • Seeds data (npm run db:seed).

Prereqs

  • Supabase running locally: npx supabase start.
  • .env includes:
    • DATABASE_URL (Prisma connection string)
    • PRISMA_DB_PASSWORD (used by scripts/create-prisma-user.js)
Installs
1
First Seen
Apr 20, 2026
db-reset-local from smithery.ai