Database Overview
58
Total Tables
Online
Connection Status
canaccom
Database Name
Available Tables
backup_restore_log
block_booking_emails
block_booking_files
block_booking_hotels
block_booking_rooms
block_bookings
booking_commissions
booking_communications
booking_documents
booking_emails
booking_files
booking_hotel_additional_costs
booking_hotel_amenities
booking_hotel_room_quantities
booking_hotel_room_types
booking_hotel_taxes
booking_hotels
booking_reminder_settings
booking_rooms
bookings
bookings_backup_2025_11_07_19_36_10
clients
communication_attachments
communication_templates
contact_change_history
contact_change_requests
contact_validation_rules
email_templates
event_facilities
event_files
events
file_storage_config
hotel_confirmations
hotel_images
hotels
invoice_emails
invoice_items
invoices
organizations
quote_request_emails
quote_request_hotels
quote_requests
room_guests
rooming_card_access_tokens
rooming_card_audit_log
rooming_cards
rooming_list_requests
stay_confirmation_files
stay_confirmation_rooms
survey_questions
survey_response_answers
survey_responses
survey_sends
surveys
team_card_profiles
team_emails
teams
users
Table: booking_hotels
5 rowsStructure
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| id | int | NO | PRI | NULL | auto_increment |
| booking_id | int | NO | MUL | NULL | |
| hotel_id | int | NO | MUL | NULL | |
| hotel_name | varchar(100) | NO | NULL | ||
| hotel_address | text | NO | NULL | ||
| pets_allowed | tinyint(1) | YES | MUL | 0 | |
| cots | tinyint(1) | YES | 0 | ||
| equipment_storage | tinyint(1) | YES | 0 | ||
| meeting_room | tinyint(1) | YES | 0 | ||
| pets_fee | decimal(10,2) | YES | NULL | ||
| cots_fee | decimal(10,2) | YES | NULL | ||
| equipment_storage_fee | decimal(10,2) | YES | NULL | ||
| meeting_room_fee | decimal(10,2) | YES | NULL | ||
| gst | tinyint(1) | YES | MUL | 0 | |
| tourism_levy | tinyint(1) | YES | MUL | 0 | |
| prt | tinyint(1) | YES | 0 | ||
| dmf | tinyint(1) | YES | 0 | ||
| gst_percentage | decimal(10,2) | YES | NULL | ||
| tourism_levy_percentage | decimal(10,2) | YES | NULL | ||
| prt_percentage | decimal(10,2) | YES | NULL | ||
| dmf_percentage | decimal(10,2) | YES | NULL | ||
| room_cost | decimal(10,2) | YES | MUL | NULL | |
| gst_cost | decimal(10,2) | YES | NULL | ||
| tourism_levy_cost | decimal(10,2) | YES | NULL | ||
| prt_cost | decimal(10,2) | YES | NULL | ||
| dmf_cost | decimal(10,2) | YES | NULL | ||
| additional_costs | json | YES | NULL | ||
| amenities | text | YES | MUL | NULL | |
| hotel_city | varchar(50) | NO | NULL | ||
| hotel_province | varchar(100) | YES | NULL | ||
| hotel_country | varchar(50) | NO | NULL | ||
| hotel_phone | varchar(20) | YES | NULL | ||
| hotel_email | varchar(100) | YES | NULL | ||
| hotel_order | int | YES | MUL | 1 | |
| checkin_time | time | YES | 16:00:00 | ||
| checkout_time | time | YES | 12:00:00 | ||
| contact1_name | varchar(100) | YES | NULL | ||
| contact1_title | varchar(100) | YES | NULL | ||
| contact1_email | varchar(100) | YES | NULL | ||
| contact1_phone | varchar(20) | YES | NULL | ||
| contact2_name | varchar(100) | YES | NULL | ||
| contact2_title | varchar(100) | YES | NULL | ||
| contact2_email | varchar(100) | YES | NULL | ||
| contact2_phone | varchar(20) | YES | NULL | ||
| commission_rate | decimal(5,2) | YES | 10.00 | ||
| commission_amount | decimal(10,2) | YES | NULL | ||
| block_cancellation_deadline | datetime | YES | NULL | ||
| individual_cancellation_deadline | datetime | YES | NULL | ||
| internal_notes | text | YES | NULL | ||
| notes_to_hotel | text | YES | NULL | ||
| notes_to_team | text | YES | NULL | ||
| created_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED | |
| updated_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | |
| contact1_changed_from_master | tinyint(1) | YES | 0 | ||
| contact2_changed_from_master | tinyint(1) | YES | 0 | ||
| contact_change_reason | text | YES | NULL | ||
| stay_confirmation_token | varchar(64) | YES | UNI | NULL | |
| stay_confirmation_sent_at | datetime | YES | NULL | ||
| stay_confirmation_submitted_at | datetime | YES | NULL | ||
| stay_confirmation_notes | text | YES | NULL |
Sample Data (First 20 rows)
| id | booking_id | hotel_id | hotel_name | hotel_address | pets_allowed | cots | equipment_storage | meeting_room | pets_fee | cots_fee | equipment_storage_fee | meeting_room_fee | gst | tourism_levy | prt | dmf | gst_percentage | tourism_levy_percentage | prt_percentage | dmf_percentage | room_cost | gst_cost | tourism_levy_cost | prt_cost | dmf_cost | additional_costs | amenities | hotel_city | hotel_province | hotel_country | hotel_phone | hotel_email | hotel_order | checkin_time | checkout_time | contact1_name | contact1_title | contact1_email | contact1_phone | contact2_name | contact2_title | contact2_email | contact2_phone | commission_rate | commission_amount | block_cancellation_deadline | individual_cancellation_deadline | internal_notes | notes_to_hotel | notes_to_team | created_at | updated_at | contact1_changed_from_master | contact2_changed_from_master | contact_change_reason | stay_confirmation_token | stay_confirmation_sent_at | stay_confirmation_submitted_at | stay_confirmation_notes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 2 | 35 | Four Points by Sheraton Hotel & Suites Calgary West | 8220 Bowridge Crescent NW, Calgary, AB T3B 2V1, Canada | 1 | 1 | 1 | 1 | 60.00 | 25.00 | NULL | 144.00 | 1 | 1 | 1 | 1 | 5.00 | 4.00 | 4.00 | 3.00 | 11252.00 | 562.60 | 450.08 | 450.08 | 337.56 | [{"name": "Bus Parking", "type": "fixed", "amount": 250}] | Suites Available, Indoor Pool, Fitness Centre, Easter Eggs | Calgary | AB T3B 2V1 | Canada | (403) 288-4441 | [email protected] | 1 | 15:00:00 | 12:00:00 | Donna | Hammill | [email protected] | (403) 288-4441 | Brock | Faber | [email protected] | 12.50 | NULL | 2025-10-13 09:46:45 | 2025-11-10 09:46:45 | This hotel needs to clean up their act | Please clean up your act | The hotel said they will clean up their act | 2025-08-31 08:46:45 | 2025-08-31 08:46:45 | 0 | 0 | NULL | NULL | NULL | NULL | NULL | |
| 4 | 1 | 28 | Calgary Marriott Downtown Hotel | 110 9 Ave SE, Calgary, AB T2G 0P5, Canada | 1 | 1 | 1 | 0 | 35.00 | 20.00 | 0.00 | 0.00 | 1 | 1 | 0 | 1 | 5.00 | 4.00 | 4.00 | 3.00 | 25263.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0 | Suites Available, Non Smoking Facility, No Smoking Rooms Requested, Indoor Pool, Fitness Centre, Non Smoking Facility, Bottled Water, Turndown Service | AB | NULL | Canada | 1 | 16:00:00 | 11:00:00 | 10.00 | 0.00 | 2025-11-26 17:08:04 | 2025-12-24 17:08:04 | These are internal notes | These are notes the hotel | Notes to team. Please behave. | 2026-03-06 10:08:04 | 2026-03-06 10:08:04 | 0 | 0 | NULL | NULL | NULL | NULL | NULL | ||||||||||
| 6 | 3 | 88 | Best Western Plus Calgary Centre Inn | 3630 Macleod Trail South, Calgary, AB T2G 2P9, Canada | 1 | 1 | 1 | 0 | 25.00 | 35.00 | 0.00 | 0.00 | 1 | 0 | 0 | 0 | 5.00 | 0.00 | 0.00 | 0.00 | 14700.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0 | Microwave Standard, Breakfast Included, Indoor Pool, Microwave Standard | AB | NULL | Canada | 1 | 16:00:00 | 12:00:00 | (403) 287-3900 | 10.00 | 0.00 | 2026-03-23 06:27:26 | 2026-04-20 06:27:26 | 2026-03-13 05:27:26 | 2026-03-13 05:27:26 | 0 | 0 | NULL | NULL | NULL | NULL | NULL | ||||||||||||
| 10 | 4 | 742 | Element Calgary Downtown | 833 4 Ave SW, Calgary, AB T2P 3T5, Canada, Calgary, Canada | 1 | 1 | 1 | 1 | 0.00 | 0.00 | 0.00 | 0.00 | 1 | 1 | 0 | 1 | 5.00 | 4.00 | 4.00 | 6.00 | 5572.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0 | Microwave Standard, Non Smoking Facility, Breakfast Included, Fitness Centre, Microwave Standard, Non Smoking Facility | Calgary | NULL | Canada | 1 | 16:00:00 | 12:00:00 | Cynthia Dare | Area Sales Manager | [email protected] | (403) 771-9054 | 7.00 | 0.00 | 2026-05-20 23:40:32 | 2026-06-17 23:40:32 | 2026-03-17 22:40:33 | 2026-03-17 22:40:33 | 0 | 0 | NULL | NULL | NULL | NULL | NULL | |||||||||
| 11 | 5 | 51 | Banff Ptarmigan Inn | 337 Banff Ave, Banff, AB T1L 1H8, Canada | 1 | 1 | 1 | 1 | 25.00 | 0.00 | 0.00 | 0.00 | 1 | 1 | 0 | 0 | 5.00 | 4.00 | 4.00 | 6.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0 | Microwave Standard, Non Smoking Facility, Breakfast Included | AB | NULL | Canada | 1 | 16:00:00 | 12:00:00 | (800) 661-8310 | 10.00 | 0.00 | 2026-07-14 16:48:51 | 2026-08-11 16:48:51 | 2026-03-18 15:48:51 | 2026-03-18 15:48:51 | 0 | 0 | NULL | NULL | NULL | NULL | NULL |