Seeding a database is a process in which a database (usually empty) is populated with an initial set of data. This is often an automated process that is executed upon the initial setup of an application. The data can be dummy data or necessary data such as an initial administrator account.


We are adding seeding capabilities via seeding scripts, which are integrated via a specific CLI command: prisma db seed .

In addition, seeding is also being integrated into the workflow when using Prisma Migrate, so that the database seeding is triggered when the development database is reset.


Seeding is currently in Preview. A guide on seeding can be found here. The reference docs can be found here.