Back to Schema

Database Tables

Connected

Database Overview

67
Total Tables
Online
Connection Status
canaccom
Database Name

Table: booking_hotels

2 rows

Structure

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
15 8 110 Best Western Plus South Edmonton Inn & Suites 1204 101 St SW, Edmonton, AB T6X 0P1, Canada, Edmonton, Canada 0 0 0 0 0.00 0.00 0.00 0.00 1 1 1 0 5.00 4.00 4.00 3.00 4710.00 0.00 0.00 0.00 0.00 0 Breakfast Included, Indoor Pool Edmonton NULL Canada 1 16:00:00 12:00:00 Jason Johnson [email protected] (403) 771-9054 10.00 0.00 2026-07-08 09:25:39 2026-07-09 09:25:39 2026-06-25 08:25:39 2026-06-25 08:25:39 0 0 NULL NULL NULL NULL NULL
17 9 110 Best Western Plus South Edmonton Inn & Suites 1204 101 St SW, Edmonton, AB T6X 0P1, Canada, Edmonton, Canada 1 1 1 0 0.00 0.00 0.00 0.00 1 1 1 0 5.00 3.95 4.00 3.00 7515.00 0.00 0.00 0.00 0.00 0 Microwave Standard, Breakfast Included, Indoor Pool, Waterslide, Free Parking Edmonton NULL Canada 1 16:00:00 12:00:00 Jason Johnson [email protected] (403) 771-9054 10.00 0.00 2026-09-02 11:07:23 2026-09-05 11:07:23 2026-06-25 10:07:23 2026-06-25 10:07:23 0 0 NULL NULL NULL NULL NULL