Prisma CLI & ConfigurationCLI Command Reference
Seeds the service with data.
This command expects that the
seed property in prisma.yml is specified.
prisma seed [flags]
-e, --env-file ENV-FILE Path to .env file to inject env vars -r, --reset Reset the service before seeding
Seed service with initial data
Seed service with initial data after deleting all of the service's data first
prisma seed --reset
Was this page helpful?