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: team_card_profiles
1 rowsStructure
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| id | int | NO | PRI | NULL | auto_increment |
| team_id | int | NO | MUL | NULL | |
| label | varchar(120) | NO | Default card | ||
| cardholder_name | varchar(150) | YES | NULL | ||
| card_brand | varchar(30) | YES | NULL | ||
| card_last4 | char(4) | NO | NULL | ||
| exp_month | tinyint unsigned | NO | NULL | ||
| exp_year | smallint unsigned | NO | NULL | ||
| encrypted_payload | mediumtext | NO | NULL | ||
| nonce_b64 | varchar(255) | NO | NULL | ||
| cipher_meta | varchar(40) | NO | sodium_xchacha20poly1305 | ||
| key_version | varchar(30) | NO | v1 | ||
| is_default | tinyint(1) | NO | 1 | ||
| is_active | tinyint(1) | NO | 1 | ||
| consent_text | varchar(255) | YES | NULL | ||
| created_by_type | enum('admin','team_public','system') | NO | admin | ||
| created_by_ref | varchar(255) | YES | NULL | ||
| created_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED | |
| updated_at | timestamp | YES | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | |
| revoked_at | datetime | YES | NULL |
Sample Data (First 20 rows)
| id | team_id | label | cardholder_name | card_brand | card_last4 | exp_month | exp_year | encrypted_payload | nonce_b64 | cipher_meta | key_version | is_default | is_active | consent_text | created_by_type | created_by_ref | created_at | updated_at | revoked_at |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 51 | Default team card | Jason Johnson | visa | 9677 | 8 | 2028 | Ghp/vDV6dPl1GOAQZxY2jphanE19bhpqH6v2+XEgod0LFYfrGYcDWcPi8QdzOzr76lptazJjEOlmihf4Ns9+/ibbByvEk23n3Pq9kf4Lt42poP6LPo03WAsyu4aSbZMw+hEw7mRmt/nXYw== | L50dI6B+Wqwbx+JcpBRiQeEfWbMN+gSc | sodium_xchacha20poly1305 | v1 | 1 | 1 | Card on file updated from team edit. | admin | admin | 2026-03-13 22:28:03 | 2026-03-13 22:28:03 | NULL |