Skip to content

Latest commit

 

History

History

test_data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Populate the database with test data

1. Start the database

Instructions to start the database can be found here.

2. Run the setup command

This command will not only install the dependencies, but also triggers the prepare command, so make sure to run it even if you have already installed the dependencies before.

pnpm i

3. Populate the database with test data


pnpm run populate

After running the command, run prisma studio and you should see the following: Screenshot 2023-05-04 at 10 16 23

You can add more data by running pnpm run populate multiple times.