Challenge: Create a Suppliers Table
Use what you have learned so far to create a suppliers_info table using a migration, add some data to it using a seed, and fetch data from it.
We'll cover the following
Problem statement
Create a suppliers_info
table using a migration and add some data to it. Your table should look something like this:
id | name | address |
---|---|---|
1 | Century Shop | 21 Pine Street, New York |
2 | Hall Center | 22 King Street, Jersey |
Get hands-on with 1400+ tech skills courses.