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: invoice_items
4 rowsStructure
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| id | int | NO | PRI | NULL | auto_increment |
| invoice_id | int | NO | MUL | NULL | |
| room_id | int | YES | MUL | NULL | |
| item_description | varchar(255) | NO | NULL | ||
| item_type | enum('room_rate','commission','tax','discount','fee','additional_charge','other') | NO | MUL | NULL | |
| quantity | decimal(8,2) | NO | 1.00 | ||
| unit_price | decimal(10,2) | NO | 0.00 | ||
| total_price | decimal(10,2) | NO | 0.00 | ||
| notes | text | YES | NULL | ||
| created_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED |
Sample Data (First 20 rows)
| id | invoice_id | room_id | item_description | item_type | quantity | unit_price | total_price | notes | created_at |
|---|---|---|---|---|---|---|---|---|---|
| 17 | 1 | NULL | 14 rooms × 7 nights @ $180.00 (1 King) - Dec 26, 2025 - Jan 2, 2026 | room_rate | 98.00 | 180.00 | 2520.00 | NULL | 2026-03-13 04:42:04 |
| 18 | 1 | NULL | 112 rooms × 7 nights @ $189.00 (2 Queens) - Dec 26, 2025 - Jan 2, 2026 | room_rate | 784.00 | 189.00 | 21168.00 | NULL | 2026-03-13 04:42:04 |
| 19 | 1 | NULL | 7 rooms × 7 nights @ $225.00 (One Bedroom) - Dec 26, 2025 - Jan 2, 2026 | room_rate | 49.00 | 225.00 | 1575.00 | NULL | 2026-03-13 04:42:05 |
| 20 | 1 | NULL | Some other stuff | additional_charge | 1.00 | 233.00 | 233.00 | NULL | 2026-03-13 04:42:05 |