Commit Graph
15 Commits
Author SHA1 Message Date
KKlochko ada0abd69d Add the count field to Item model. 2023-06-19 18:12:57 +03:00
KKlochko b71073d81d Update the CompanySeeder to have a second company. 2023-06-18 17:38:58 +03:00
KKlochko 33e35fa692 Update the CitySeeder to have a second city. 2023-06-18 16:12:47 +03:00
KKlochko d4f3072169 Add test models to the seeders.
continuous-integration/drone/push Build is passing
2023-06-18 11:26:01 +03:00
KKlochko 0430a2bed1 Update the factories for City and User models. 2023-06-18 11:25:07 +03:00
KKlochko 07a5ec44cc Update Company and Item models to have image as nullable field. 2023-06-18 11:23:57 +03:00
KKlochko ea120c8c9c Update User, Cart models.
Added isEmpty (no items), setCity, dropItems to Cart.
The cart field, company, was made nullable.

Updated the user field from name to username and made it unique.
2023-06-16 16:50:12 +03:00
KKlochko 4a4d5e7335 Add Cart model, resource and its API, Pivot table with Items.
Update Items model to have relationship with cart.
2023-06-15 17:43:59 +03:00
KKlochko ea363b956e Update User class.
Added the needed fields and removed unused fields.
2023-06-15 17:43:59 +03:00
KKlochko 18bd849827 Added Item model, resource and its API.
Updated Category model to have Items.
2023-06-14 17:16:50 +03:00
KKlochko b5a264d92f Added Category model, resource and its API.
Updated Company model to have Categories.
2023-06-14 16:58:35 +03:00
KKlochko 2dc7893eb3 Added Company model, resource and its API. 2023-06-14 16:28:48 +03:00
KKlochko 1dcf619555 Updated City Model and Resource. 2023-06-14 13:36:40 +03:00
KKlochko 6d0423fa34 Added City model, resource and its API. 2023-06-14 13:31:38 +03:00
KKlochko 15f16db37c Project initialization. 2023-06-13 17:59:00 +03:00