AI Features

Seeds

Learn to use seeds to add data in the database.

We'll cover the following...

Seeds are used to populate the tables that we created using migrations, with data.

Creating a seed

Let’s create a seed to add a few records to our products table that we created earlier. After the database is seeded, the table should look ...

Ask