Back to Schema

Database Tables

Connected

Database Overview

58
Total Tables
Online
Connection Status
canaccom
Database Name

Table: room_guests

3 rows

Structure

Field Type Null Key Default Extra
id int NO PRI NULL auto_increment
room_id int NO MUL NULL
room_instance smallint unsigned NO 0
room_email varchar(255) YES NULL
room_phone varchar(50) YES NULL
room_confirmation_number varchar(120) YES NULL
first_name varchar(100) NO MUL NULL
last_name varchar(100) NO NULL
email varchar(255) YES MUL NULL
phone varchar(20) YES NULL
date_of_birth date YES NULL
guest_type enum('adult','youth','child','infant') YES adult
is_primary_guest tinyint(1) YES MUL 0
emergency_contact_name varchar(200) YES NULL
emergency_contact_phone varchar(20) YES NULL
emergency_contact_relationship varchar(100) YES NULL
dietary_restrictions text YES NULL
accessibility_needs text YES NULL
special_requests text YES NULL
credit_card_type varchar(50) YES NULL
credit_card_last_four varchar(4) YES NULL
credit_card_expiry varchar(7) YES NULL
billing_address text YES NULL
arrival_date date YES NULL
departure_date date YES NULL
check_in_time time YES NULL
check_out_time time YES NULL
status enum('confirmed','checked_in','checked_out','cancelled') YES MUL confirmed
created_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED
updated_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED on update CURRENT_TIMESTAMP

Sample Data (First 20 rows)

id room_id room_instance room_email room_phone room_confirmation_number first_name last_name email phone date_of_birth guest_type is_primary_guest emergency_contact_name emergency_contact_phone emergency_contact_relationship dietary_restrictions accessibility_needs special_requests credit_card_type credit_card_last_four credit_card_expiry billing_address arrival_date departure_date check_in_time check_out_time status created_at updated_at
54 86 0 [email protected] 4037719054 NULL John Kilbride NULL NULL NULL adult 1 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL confirmed 2026-03-18 16:53:45 2026-03-18 16:53:45
55 86 0 NULL NULL NULL Jason Johnson NULL NULL NULL youth 0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL confirmed 2026-03-18 16:53:45 2026-03-18 16:53:45
56 91 1 NULL NULL NULL Jon Smith NULL NULL NULL youth 1 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL confirmed 2026-03-18 16:53:45 2026-03-18 16:53:45