Back to Schema

Database Tables

Connected

Database Overview

58
Total Tables
Online
Connection Status
canaccom
Database Name

Table: booking_rooms

47 rows

Structure

Field Type Null Key Default Extra
id int NO PRI NULL auto_increment
booking_id int NO MUL NULL
booking_hotel_id int YES MUL NULL
room_type enum('1_king','1_queen','2_queens','1_double','2_doubles','2_twins','bunk_beds','murphy_bed','sofa_bed','futon','daybed','rollaway','crib','studio','one_bedroom','two_bedroom','three_bedroom','penthouse','accessible','connecting','other','single','double','triple','quad','suite') NO MUL NULL
custom_room_type varchar(255) YES NULL
room_quantity int NO MUL 1
stay_date datetime YES MUL NULL
rate_per_night decimal(10,2) NO MUL NULL
total_room_cost decimal(10,2) YES NULL
created_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED
updated_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED on update CURRENT_TIMESTAMP
block_booking_room_id int YES NULL

Sample Data (First 20 rows)

id booking_id booking_hotel_id room_type custom_room_type room_quantity stay_date rate_per_night total_room_cost created_at updated_at block_booking_room_id
22 2 2 2_queens NULL 12 2025-11-12 00:00:00 169.00 2028.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
23 2 2 2_queens NULL 12 2025-11-13 00:00:00 169.00 2028.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
24 2 2 2_queens NULL 12 2025-11-14 00:00:00 169.00 2028.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
25 2 2 2_queens NULL 12 2025-11-15 00:00:00 169.00 2028.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
26 2 2 1_king NULL 3 2025-11-12 00:00:00 175.00 525.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
27 2 2 1_king NULL 3 2025-11-13 00:00:00 175.00 525.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
28 2 2 1_king NULL 3 2025-11-14 00:00:00 175.00 525.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
29 2 2 1_king NULL 3 2025-11-15 00:00:00 175.00 525.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
30 2 2 one_bedroom NULL 1 2025-11-12 00:00:00 260.00 260.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
31 2 2 one_bedroom NULL 1 2025-11-13 00:00:00 260.00 260.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
32 2 2 one_bedroom NULL 1 2025-11-14 00:00:00 260.00 260.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
33 2 2 one_bedroom NULL 1 2025-11-15 00:00:00 260.00 260.00 2025-08-31 08:46:45 2025-08-31 08:46:45 NULL
55 1 4 1_king NULL 2 2025-12-26 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
56 1 4 1_king NULL 2 2025-12-27 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
57 1 4 1_king NULL 2 2025-12-28 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
58 1 4 1_king NULL 2 2025-12-29 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
59 1 4 1_king NULL 2 2025-12-30 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
60 1 4 1_king NULL 2 2025-12-31 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
61 1 4 1_king NULL 2 2026-01-01 00:00:00 180.00 360.00 2026-03-06 10:08:05 2026-03-06 10:08:05 NULL
62 1 4 2_queens NULL 16 2025-12-26 00:00:00 189.00 3024.00 2026-03-06 10:08:06 2026-03-06 10:08:06 NULL