Closed chrismpettyjohn closed 2 years ago
Upon testing, it looks like there's a few issues with the DB queries to work out. Will update sometime tomorrow
I resolved the test issues and have verified users can successfully interact with their wardrobe. Apart of these changes, are a new database migration that prevents multiple rows being added for the same user, slot and gender combination
I think unique constraint should be over user_id and slot_id. Cant insert multiple looks for different genders in the same slot I think?
I think unique constraint should be over user_id and slot_id. Cant insert multiple looks for different genders in the same slot I think?
Changes pushed
Closing as resolved with more fn by above PR
Story As a Developer, I want a reusable service for adding and removing looks from the user wardrobe.
Changes
Issues Related to #4
Testing I validated locally that users could create outfits and save them in various slots, or overwrite existing slots.
Video![Nitro](https://user-images.githubusercontent.com/2059790/170139746-b7fb5324-ca67-418b-8b67-6e74c9e1238e.gif)