I designed a database, my database will manage concert seats planning, the seats inside the hall will be grouped into categories for each concert. I will try to elaborate more here.
We have a hall, concerts will take place in the hall each one with a date, hall have also seats, categories, each category of the hall will have a different price for different concerts, seats will be grouped into a category, the same category can have different seats for different concert, also we can disable/enable seats for a concert
to have different seats for the same category for different concerts, I made a table (category_concert_seat)in which we have 3 foreign key ids id_concert, id_seats, id_category, like that I can change category for a group of seats for given concert. then in the same table, the same category will have another group of seats for another concert
you can see a demo for my application, the application works but I need to have another professional opinion I don't want to go further without been sure that this is correct.
So is what I did by joining the tree table like is it legitimate or should I reconsider it?
you can see the demo here http://blog.yaz-fr.com/canvas.html
the demo in french but it's easy to understand you just chose a concert from the list then you select group of seats then apply category on those seats you can also give the category a price and change its colour
I have been trying to make my question understandable as much as I can I been searching about the matter for 2 weeks, another question on this platform cant give me the answer that I need.