Database Seeding

Define seeding options.

When enabled, the database will be seeded as specified with 10 fake instances of the selected model before each run of the project.

If you want to also generate database seeding code, check publish check () and insert the number of fake instances the seeding code should be set to generate.


Faker Options

Select which type of fake data to generate for each database column/model field. Different options will be shown based on the field representation.

If the model has relations, you may opt to generate fake instances to be related to the current model by checking the relation's name and inserting the desired number of fake relations to be generated.


Custom Seeding

You may want to seed specific instances, for example a test user that you want to use.

To seed a custom instance, click on the plus button () and enter the information required for each column/field of the table/model.

The inserted custom fake instances will also be seeded by the generated seeders, if you opted to generate seedeing code.