Stuck building Hotel database ! (1 Viewer)

Shame I didn't see this earlier. I would have sent it to you. If you need it let me know.
 
Here you go...

EDIT, there are a few extra table in there that you can delete. I was just having a little fun yesterday.
 

Attachments

From what I understood... A Customer on a Tour could be going to several Countries or multiple locations within the same Country thereby staying at multiple Hotels.

As for my Naming Convention... to each their own. :D Don't really want to add on to this thread with that discussion.
 
No problem.

I got the impression it was handling tours and the reservations during such tour. So I did the Customer > Destination(s) > Hotel(s). Side note, I originally posted a Hotel Reservation Data Model and then it was explained that the Reservations were not the primary.

As to the prefixes, I too have been doing for more years then I care to mention and 99.9$ of my Functions and code already take them into account. So, if I changed now, not that I would to as I like them, I would have have tons of re-usable code and Functions to update. Well, maybe not Functions as only about .5 % take actual table and\or field names into account.
 
After some review, I have updated the Data Model.
attachment.php
 

Attachments

  • tours.zip
    tours.zip
    33.8 KB · Views: 237
  • DataModelTours.png
    DataModelTours.png
    72.3 KB · Views: 458

Users who are viewing this thread

Back
Top Bottom