Seed data
Learn how to seed data into your database
For demo and testing purposes, you can seed the database with some test data using the following command:
pnpm db:seedAfter the script is finished it will print the created users credentials. You can use these credentials to log in to the application.
Reset database
To reset the database and seed it with new data, run the following command:
pnpm db:seed --resetThis will drop all tables and re-run all migrations.
Customize user account
You can customize the user account creation with the following parameters:
pnpm db:seed --email=demo@example.com --password=demo12345