I'm developing a web administration panel for a local restaurant directory. Their old system is very clunky and not able to expand without modifying a bunch of code.
The current DB structure is like this:
table: Restaurants
cols: id, restname, preferred, image, phone, address, website, vip_special
This table is static as far as columns go.
table: Locations
cols: id, restname, downtown, bluffton, tybee, pooler, etc...
table: Cuisines
cols: id, restname, american, chinese, seafood, bar_tavern, etc...
table: Ambiances
cols: id, restname, outdoor_dining, fine_dining, waterfront, rooftop, romantic, etc...
The latter 3 tables require a developer to go in and add a new column for each new location, cuisine, or ambiance as well as change the code to reflect those new columns.
I'm not the greatest when it comes to DBA so I was curious as to what the best structure would be to this situation.
Associations: A restaurant can have several locations, cuisines, and ambiances
Thank you all for the help.