Prisma CLI & ConfigurationCLI Command Reference

prisma seed

$ prisma seed

Seeds the service with data.

This command expects that the seed property in prisma.yml is specified.

Usage

prisma seed [flags]

Flags

-e, --env-file ENV-FILE    Path to .env file to inject env vars
-r, --reset                Reset the service before seeding

Examples

Seed service with initial data

prisma seed

Seed service with initial data after deleting all of the service's data first

prisma seed --reset