Got a suggestion on how to improve MyFitnessPal? Share it in this category or vote to tell us what you think of other people’s suggestions. Please be sure to review the Feature Suggestion submissions guidelines.
My Foods List
hicim705
Posts: 5,962 Member
I added a few foods to the diary that I found in MFP. Those foods were added from something that was in MFP but I found a 'better option' to use from the MFP logos. Why can't I delete the food(s) that I no longer want on MY Foods list? When I try to delete, it states that it is part of the database and I can't! I don't want to delete any MFP data, just want to use something that is a better option for me and be able to look back and consistently use the option that I'm comfortable with. BETTER YET - get rid of some of the duplication found in the nutritional log(s)
2
Replies
-
If the items you want to delete have been used in diary pages, it may not be possible to delete them without disrupting referential integrity in the database, or some other technical concern.
If that's not a familiar term ("referential integrity"), it has to do with technically needing database entries in one area to link to value entries in another area. If the food details are in the Foods list, and only a linking value is stored in the diary, the Foods list item wouldn't be eligible for deletion until all the uses in your diary are deleted (or in other people's diaries, if the foods were shared as public in the food database).
That may not be it, but it's one possible explanation.
P.S. I don't work for MFP, but my career included database design kind of stuff.0
Categories
- All Categories
- 1.4M Health, Wellness and Goals
- 393.3K Introduce Yourself
- 43.8K Getting Started
- 260.2K Health and Weight Loss
- 175.9K Food and Nutrition
- 47.4K Recipes
- 232.5K Fitness and Exercise
- 423 Sleep, Mindfulness and Overall Wellness
- 6.5K Goal: Maintaining Weight
- 8.5K Goal: Gaining Weight and Body Building
- 153K Motivation and Support
- 8K Challenges
- 1.3K Debate Club
- 96.3K Chit-Chat
- 2.5K Fun and Games
- 3.7K MyFitnessPal Information
- 24 News and Announcements
- 1.1K Feature Suggestions and Ideas
- 2.6K MyFitnessPal Tech Support Questions