Prisma
Database Commands
Perform direct database operations with Prisma. Push schema changes, pull existing schemas, seed data, and execute raw SQL for database management tasks.
10 commands
Pro Tips
Use 'prisma db push' for rapid prototyping — applies schema changes without creating migration files.
Use 'prisma db pull' to introspect an existing database and generate the Prisma schema from it.
Seed your database: 'prisma db seed' runs the seed script defined in package.json prisma.seed field.
Common Mistakes
'prisma db push' can drop data when removing fields or tables. It shows warnings — read them carefully.
'prisma db push' is not meant for production. It doesn't create migration history — use 'prisma migrate' instead.