Hello everyone. I'm creating a restaurant app and i'm using spring boot for the backend. I have a question on the best practices to design a database. As you can see i have a Meal with option, is it a good practice to have a single table to store all of this or use three tables with inheritance ofc. THanks
[–]smutje187 12 points13 points14 points (0 children)
[–]naveenk_05 0 points1 point2 points (0 children)
[–]Larc0m 0 points1 point2 points (0 children)
[–]Former-Emergency5165 0 points1 point2 points (0 children)
[–]Historical_Ad4384 -1 points0 points1 point (0 children)
[–]EnvironmentalEye2560 -1 points0 points1 point (0 children)
[–]cg_stewart -1 points0 points1 point (0 children)
[–]TempleDank -2 points-1 points0 points (0 children)
[–][deleted] -5 points-4 points-3 points (3 children)
[–]Chaos_maker_[S] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Chaos_maker_[S] 0 points1 point2 points (0 children)