npx skills add ...
npx skills add prisma/cursor-plugin --skill prisma-cli-migrate-reset
npx skills add prisma/cursor-plugin --skill prisma-cli-migrate-reset
prisma migrate reset
Resets your database and re-applies all migrations.
prisma/migrations/Warning: All data will be lost.
| Option | Description |
|---|---|
--force / -f | Skip confirmation prompt |
--schema | Path to schema file |
--config | Custom path to your Prisma config file |
Prompts for confirmation in interactive terminals.
migrate reset automatically ran prisma generate.prisma generate separately if you want to update the client, though reset focuses on the database state.Configure seed script in prisma.config.ts to run it automatically after reset: