Closed rfcmarques closed 7 months ago
Create the Container model. This model will store data regarding containers such as
This model will have a relationship with the Items model in the following circumstances
Create a factory and a seeder that will automatically seed the database with the containers that you already have:
For now, this container doesn't need any controller although one can be created to be easier to create new containers in the future.
Created the Model and the corresponding migration, factory and seeder
And added the ContainerSeeder to the DatabaseSeeder. Don't forget to run this when the doing migrate fresh
Create the Container model. This model will store data regarding containers such as
This model will have a relationship with the Items model in the following circumstances
Create a factory and a seeder that will automatically seed the database with the containers that you already have:
For now, this container doesn't need any controller although one can be created to be easier to create new containers in the future.