πŸ” Database Analysis Tool

πŸ“Š Available Databases:

🧹 Clinnco Database (Cleaning)

Tables:

πŸ“‹ Table: adverts

ColumnTypeNullKeyDefaultExtra
idintNOPRIauto_increment
infovarchar(255)NO
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED
adt_usr_idintYESMUL
adt_usr_typeenum('Everyone','Property Owner','Cleaning Company','Manager','Accountant')YES
languageenum('pt','en')NOpt

Row count: 0


πŸ“‹ Table: affiliate_rewards

ColumnTypeNullKeyDefaultExtra
afr_idintNOPRIauto_increment
afr_affiliate_idintNOMUL
afr_user_idintNOUNI
afr_rewardedtinyint(1)NO0
afr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
afr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: cities

ColumnTypeNullKeyDefaultExtra
cit_idintNOPRIauto_increment
cit_namevarchar(255)NO
cit_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
cit_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 5

Sample Data (first 3 rows):
cit_idcit_namecit_created_atcit_updated_at
1Lisbon2025-07-20 04:11:412025-07-20 04:11:41
2Porto2025-07-20 04:11:412025-07-20 04:11:41
3Faro2025-07-20 04:11:412025-07-20 04:11:41

πŸ“‹ Table: cleaning_photos

ColumnTypeNullKeyDefaultExtra
photo_idintNOPRIauto_increment
cleaning_idintNOMUL
reservation_idintNOMUL
photo_pathvarchar(255)NO
created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: cleanings

ColumnTypeNullKeyDefaultExtra
cln_idintNOPRIauto_increment
cln_employee_idintNOMUL
cln_property_idintYESMUL
cln_reservation_idintYESMUL
cln_url_pathvarchar(256)NOUNI
cln_statusenum('Awaiting Start','On Going','Finished')NOAwaiting Start
cln_observationvarchar(1024)YES
cln_startdatetimeYES
cln_finishdatetimeYES
cln_goingtinyint(1)NO0
cln_returntinyint(1)NO0
cln_activetinyint(1)NO1
cln_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
cln_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 2

Sample Data (first 3 rows):
cln_idcln_employee_idcln_property_idcln_reservation_idcln_url_pathcln_statuscln_observationcln_startcln_finishcln_goingcln_returncln_activecln_created_atcln_updated_at
1111cleaning-001Awaiting StartStandard cleaning after guest check-out0012025-07-20 04:11:412025-07-20 04:11:41
2222cleaning-002Awaiting StartDeep cleaning for new guest arrival0012025-07-20 04:11:412025-07-20 04:11:41

πŸ“‹ Table: debts

ColumnTypeNullKeyDefaultExtra
dbt_idintNOPRIauto_increment
dbt_property_idintNOMUL
dbt_supplier_idintNOMUL
dbt_payment_idintYESMUL
dbt_descriptionvarchar(512)NO
dbt_cleaning_datedatetimeNO
dbt_statusenum('Awaiting Payment','Confirmed','Canceled')YESAwaiting Payment
dbt_discountfloatNO0
dbt_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
dbt_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: debts_easypay_orders

ColumnTypeNullKeyDefaultExtra
deo_idintNOPRIauto_increment
deo_debt_idintNOMUL
deo_eap_idintNOMUL
deo_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
deo_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: debts_services

ColumnTypeNullKeyDefaultExtra
dse_idintNOPRIauto_increment
dse_debt_idintNOMUL
dse_service_idintNOMUL
dse_extra_includedtinyint(1)NO0
dse_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
dse_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: easypay_orders

ColumnTypeNullKeyDefaultExtra
eap_idintNOPRIauto_increment
eap_reservation_idintNOMUL
eap_payment_idvarchar(255)NO
eap_valuefloatNO
eap_nifvarchar(255)YES
eap_phonevarchar(255)YES
eap_phone_indicativevarchar(255)YES
eap_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
eap_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: employee_announce

ColumnTypeNullKeyDefaultExtra
idintNOPRIauto_increment
emp_idintNOMUL
messagetextYES
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: employee_chat

ColumnTypeNullKeyDefaultExtra
chat_idintNOPRIauto_increment
emp_idintNOMUL
messagetextNO
admin_responsetextYES
is_readtinyint(1)YES0
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED
response_attimestampYES

Row count: 0


πŸ“‹ Table: employees

ColumnTypeNullKeyDefaultExtra
emp_idintNOPRIauto_increment
emp_namevarchar(256)NO
emp_codevarchar(256)YES
emp_activetinyint(1)NO1
emp_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
emp_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP
languagevarchar(18)NO
rolevarchar(18)NOemployee

Row count: 3

Sample Data (first 3 rows):
emp_idemp_nameemp_codeemp_activeemp_created_atemp_updated_atlanguagerole
1Ana CostaEMP00112025-07-20 04:11:412025-07-20 04:11:41ptemployee
2Carlos FerreiraEMP00212025-07-20 04:11:412025-07-20 04:11:41ptemployee
3Sofia MartinsEMP00312025-07-20 04:11:412025-07-20 04:11:41ptmanager

πŸ“‹ Table: ical_properties

ColumnTypeNullKeyDefaultExtra
icp_idintNOPRIauto_increment
icp_property_idintNOMUL
icp_supplier_idintNOMUL
icp_urlvarchar(255)NO
icp_cleaning_timetimeNO12:30:00
icp_laundry_single_bedintNO0
icp_laundry_double_bedintNO0
icp_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
icp_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: messages

ColumnTypeNullKeyDefaultExtra
msg_idintNOPRIauto_increment
msg_res_idintNOMUL
msg_usr_idintNOMUL
msg_texttextNO
msg_readtinyint(1)NO0
msg_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: payments

ColumnTypeNullKeyDefaultExtra
pay_idintNOPRIauto_increment
pay_reservation_idintNOUNI
pay_methodvarchar(255)NO
pay_valuevarchar(255)NO
pay_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
pay_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: properties

ColumnTypeNullKeyDefaultExtra
prp_idintNOPRIauto_increment
prp_user_idintNOMUL
prp_typology_idintNOMUL
prp_namevarchar(255)NO
prp_addressvarchar(255)NO
prp_numbervarchar(10)YES
prp_address_detailsvarchar(255)NO
prp_postcodevarchar(255)NO
prp_cityvarchar(255)NO
prp_regionvarchar(255)NO
prp_countryvarchar(255)NO
prp_coordspointNO
prp_place_idvarchar(255)NO
prp_travel_timeintNO0
prp_activetinyint(1)NO1
prp_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
prp_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 2

Sample Data (first 3 rows):
prp_idprp_user_idprp_typology_idprp_nameprp_addressprp_numberprp_address_detailsprp_postcodeprp_cityprp_regionprp_countryprp_coordsprp_place_idprp_travel_timeprp_activeprp_created_atprp_updated_at
111Beach House LisbonRua da Praia, 123123Beachfront1000-001LisbonLisboaPortugaleοΏ½`TRG"οΏ½MοΏ½St\C@ChIJNS2FahDQzQ0RkgxGUNjO1kE3012025-07-20 04:11:412025-07-20 04:11:41
212City Apartment PortoAvenida da Liberdade, 456456City Center4000-001PortoPortoPortugalοΏ½οΏ½+eB!οΏ½οΏ½46οΏ½D@ChIJf4jXIcFQzQ0RkgxGUNjO1kE2512025-07-20 04:11:412025-07-20 04:11:41

πŸ“‹ Table: property_checklist_items

ColumnTypeNullKeyDefaultExtra
pci_idintNOPRIauto_increment
pci_property_idintYESMUL
pci_description_ptvarchar(512)NO
pci_description_envarchar(512)NO
pci_image_pathvarchar(256)YES
pci_typeenum('Before Cleaning','Start of Cleaning','During Cleaning','After Cleaning')YESDuring Cleaning
pci_activetinyint(1)NO1
pci_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
pci_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: reservation_services

ColumnTypeNullKeyDefaultExtra
rse_idintNOPRIauto_increment
rse_reservation_idintNOMUL
rse_service_idintNOMUL
rse_extra_includedtinyint(1)NO
rse_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
rse_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: reservations

ColumnTypeNullKeyDefaultExtra
res_idintNOPRIauto_increment
res_property_idintNOMUL
res_supplier_idintNOMUL
res_descriptionvarchar(1024)NO
res_cleaning_datedatetimeNO
res_statusenum('Awaiting Payment','Confirmed','Finished','Canceled')YESAwaiting Payment
res_icaltinyint(1)NO0
res_discountfloatNO0
res_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
res_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP
pay_valuedoubleYES

Row count: 2

Sample Data (first 3 rows):
res_idres_property_idres_supplier_idres_descriptionres_cleaning_dateres_statusres_icalres_discountres_created_atres_updated_atpay_value
111Standard cleaning after guest check-out2024-07-30 10:00:00Confirmed002025-07-20 04:11:412025-07-20 04:11:4180
221Deep cleaning for new guest arrival2024-08-02 09:00:00Awaiting Payment002025-07-20 04:11:412025-07-20 04:11:41120

πŸ“‹ Table: service_language

ColumnTypeNullKeyDefaultExtra
idintNOPRIauto_increment
pttextNO
entextNO
ser_idintNOMUL

Row count: 0


πŸ“‹ Table: service_prices

ColumnTypeNullKeyDefaultExtra
spr_idintNOPRIauto_increment
spr_service_idintNOMUL
spr_city_idintNOMUL
spr_typology_idintYESMUL
spr_pricefloatNO
spr_extrafloatNO0
spr_activetinyint(1)NO1
spr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
spr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: services

ColumnTypeNullKeyDefaultExtra
ser_idintNOPRIauto_increment
ser_namevarchar(255)NO
ser_activetinyint(1)NO1

Row count: 5

Sample Data (first 3 rows):
ser_idser_nameser_active
1Standard Cleaning1
2Deep Cleaning1
3Exit Cleaning1

πŸ“‹ Table: subscriptions

ColumnTypeNullKeyDefaultExtra
subs_idintNOPRIauto_increment
subs_usr_idintNOMUL
subs_methodvarchar(255)YES
subs_typeenum('monthly','annually')NO
subs_valuefloatNO
subs_billing_idtextYES
subs_statusenum('active','cancellation_pending','canceled')YESactive
subs_renewal_countintNO1
subs_cancellation_reasontextYES
subs_next_billingtimestampYES
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: suppliers_rating

ColumnTypeNullKeyDefaultExtra
sur_idintNOPRIauto_increment
sur_reservation_idintNOUNI
sur_ratingenum('Very Bad','Bad','Medium','Good','Very Good')NO
sur_commenttextNO
sur_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
sur_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: typologies

ColumnTypeNullKeyDefaultExtra
typ_idintNOPRIauto_increment
typ_typologyvarchar(3)NO

Row count: 4

Sample Data (first 3 rows):
typ_idtyp_typology
1T1
2T2
3T3

πŸ“‹ Table: user_addresses

ColumnTypeNullKeyDefaultExtra
adr_idintNOPRIauto_increment
adr_user_idintNOMUL
adr_streetvarchar(255)NO
adr_numbervarchar(10)YES
adr_detailsvarchar(255)YES
adr_postcodevarchar(255)NO
adr_cityvarchar(255)NO
adr_regionvarchar(255)NO
adr_countryvarchar(255)NO
adr_coordspointNO
adr_place_idvarchar(255)NO
adr_distance_rangefloatYES10
adr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
adr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: users

ColumnTypeNullKeyDefaultExtra
usr_idintNOPRIauto_increment
usr_namevarchar(255)NO
usr_emailvarchar(255)NOUNI
usr_passwordvarchar(512)NO
usr_phonevarchar(256)YES
usr_nifvarchar(255)YES
usr_typeenum('Property Owner','Cleaning Company','Administrator','Manager','Accountant')NOProperty Owner
usr_creditsfloatNO10
usr_monthly_credits_pctfloatNO3
usr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
usr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP
usr_immediately_pctfloatYES

Row count: 3

Sample Data (first 3 rows):
usr_idusr_nameusr_emailusr_passwordusr_phoneusr_nifusr_typeusr_creditsusr_monthly_credits_pctusr_created_atusr_updated_atusr_immediately_pct
1Maria Silvamaria@example.comhashed_password+351 123 456 789123456789Property Owner1032025-07-20 04:11:412025-07-20 04:11:41
2JoΓ£o Santosjoao@example.comhashed_password+351 987 654 321987654321Cleaning Company1032025-07-20 04:11:412025-07-20 04:11:41
3Admin Useradmin@example.comhashed_password+351 555 123 456555123456Administrator1032025-07-20 04:11:412025-07-20 04:11:41

🏠 Timelystay Database (Management)

Tables:

πŸ“‹ Table: blogs

ColumnTypeNullKeyDefaultExtra
blg_idintNOPRIauto_increment
blg_url_pathvarchar(255)NOUNI
blg_title_envarchar(255)NO
blg_title_ptvarchar(255)NO
blg_subtitle_envarchar(255)YES
blg_subtitle_ptvarchar(255)YES
blg_content_enlongtextNO
blg_content_ptlongtextNO
blg_activetinyint(1)NO1
blg_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
blg_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: checkin_data

ColumnTypeNullKeyDefaultExtra
idintNOPRIauto_increment
full_namevarchar(255)NO
nationalityvarchar(100)NO
place_of_birthvarchar(255)NO
place_of_residencevarchar(255)NO
country_of_residencevarchar(100)NO
dobdateNO
document_typeenum('passport','citizen_card','other')NO
passport_numbervarchar(100)NO
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED
usr_id_checkinintYESMUL

Row count: 0


πŸ“‹ Table: cities

ColumnTypeNullKeyDefaultExtra
cit_idintNOPRIauto_increment
cit_country_idintNOMUL
cit_namevarchar(255)NO

Row count: 45

Sample Data (first 3 rows):
cit_idcit_country_idcit_name
11Lisbon
21Porto
31Faro

πŸ“‹ Table: countries

ColumnTypeNullKeyDefaultExtra
cou_idintNOPRIauto_increment
cou_namevarchar(255)NO

Row count: 36

Sample Data (first 3 rows):
cou_idcou_name
1Portugal
2Spain
3France

πŸ“‹ Table: events

ColumnTypeNullKeyDefaultExtra
eve_idintNOPRIauto_increment
eve_property_idintNOMUL
eve_datedateNO
eve_typeenum('ical','reservation','closed','special_price')YES
eve_pricefloatYES
eve_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
eve_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: guest_conversations

ColumnTypeNullKeyDefaultExtra
conv_idintNOPRIauto_increment
guest_idintNOMUL
session_idvarchar(255)NOMUL
statusenum('active','closed','escalated')YESMULactive
started_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED
ended_attimestampYES
escalation_reasontextYES

Row count: 2

Sample Data (first 3 rows):
conv_idguest_idsession_idstatusstarted_atended_atescalation_reason
11session_687c6c7cc4aafactive2025-07-20 04:11:40
22session_687c6c7cc4ab9active2025-07-20 04:11:40

πŸ“‹ Table: guest_messages

ColumnTypeNullKeyDefaultExtra
msg_idintNOPRIauto_increment
guest_idintNOMUL
message_typeenum('guest','ai','human')NOai
message_texttextNO
is_readtinyint(1)YESMUL0
created_attimestampYESMULCURRENT_TIMESTAMPDEFAULT_GENERATED
updated_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 4

Sample Data (first 3 rows):
msg_idguest_idmessage_typemessage_textis_readcreated_atupdated_at
11aiWelcome to your stay! I'm your AI assistant. How can I help you today?02025-07-20 04:11:402025-07-20 04:11:40
21guestWhat is the WiFi password?02025-07-20 04:11:402025-07-20 04:11:40
31aiThe WiFi network is "BeachHouse_WiFi" and the password is "beach2024".02025-07-20 04:11:402025-07-20 04:11:40

πŸ“‹ Table: guest_notifications

ColumnTypeNullKeyDefaultExtra
notif_idintNOPRIauto_increment
guest_idintNOMUL
notification_typeenum('checkin_reminder','checkout_reminder','maintenance','emergency','general')NOMUL
titlevarchar(255)NO
messagetextNO
is_readtinyint(1)YESMUL0
is_senttinyint(1)YES0
scheduled_attimestampYESMUL
sent_attimestampYES
created_attimestampYESCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 2

Sample Data (first 3 rows):
notif_idguest_idnotification_typetitlemessageis_readis_sentscheduled_atsent_atcreated_at
11checkin_reminderCheck-in ReminderYour check-in is scheduled for tomorrow at 3:00 PM. Please have your access code ready.002025-07-21 04:11:402025-07-20 04:11:40
22checkout_reminderCheck-out ReminderYour check-out is scheduled for tomorrow at 10:00 AM. Please ensure the property is tidy.002025-07-21 04:11:402025-07-20 04:11:40

πŸ“‹ Table: ical_reservations

ColumnTypeNullKeyDefaultExtra
ica_idintNOPRIauto_increment
ica_property_idintNOMUL
ica_originvarchar(255)NO
ica_checkindatetimeNO
ica_checkoutdatetimeNO
ica_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
ica_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: messages

ColumnTypeNullKeyDefaultExtra
msg_idintNOPRIauto_increment
msg_pay_idintNOMUL
msg_usr_idintNOMUL
msg_texttextNO
msg_readtinyint(1)NO0
msg_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: partner_reservations

ColumnTypeNullKeyDefaultExtra
ptr_idintNOPRIauto_increment
ptr_user_idintNOMUL
ptr_ical_reservation_idintYESMUL
ptr_payments_idintYESMUL
ptr_pricefloatNO
usr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
usr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


πŸ“‹ Table: payments

ColumnTypeNullKeyDefaultExtra
idintNOPRIauto_increment
property_idintYES
emailvarchar(255)NO
servicevarchar(255)NO
amountfloatNO
checkindateNO
checkoutdateNO
createddatetimeYES
usr_idintYES

Row count: 0


πŸ“‹ Table: properties

ColumnTypeNullKeyDefaultExtra
prp_idintNOPRIauto_increment
prp_user_idintNOMUL
prp_url_pathvarchar(255)NOUNI
prp_titlevarchar(255)NO
prp_descriptiontextYES
prp_property_typeenum('house','apartment','bed_and_breakfast','camper_rv','guesthouse','hotel')YES
prp_place_typeenum('entire_place','private_room','shared_room')YES
prp_al_numbervarchar(255)YES
prp_city_idintYESMUL
prp_addressvarchar(255)YES
prp_coordspointYES
prp_min_daysintNO2
prp_max_daysintNO30
prp_check_in_timetimeNO11:00:00
prp_check_out_timetimeNO16:00:00
prp_building_codevarchar(32)YES
prp_lockbox_codevarchar(32)YES
prp_wifi_namevarchar(128)YES
prp_wifi_passvarchar(128)YES
prp_contact_infovarchar(128)YES
prp_check_in_obsvarchar(300)YES
prp_check_out_obsvarchar(300)YES
prp_observationvarchar(600)YES
prp_guestsintYES
prp_double_bedsintYES
prp_single_bedsintYES
prp_bedroomsintYES
prp_bathroomsintYES
prp_wifitinyint(1)YES
prp_tvtinyint(1)YES
prp_air_conditioningtinyint(1)YES
prp_kitchentinyint(1)YES
prp_kitchenettetinyint(1)YES
prp_dishwashertinyint(1)YES
prp_washertinyint(1)YES
prp_free_parkingtinyint(1)YES
prp_paid_parkingtinyint(1)YES
prp_workspacetinyint(1)YES
prp_pooltinyint(1)YES
prp_hot_tubtinyint(1)YES
prp_patiotinyint(1)YES
prp_beachtinyint(1)YES
prp_smoke_alarmtinyint(1)YES
prp_first_aid_kittinyint(1)YES
prp_fire_extinguishertinyint(1)YES
prp_carbon_alarmtinyint(1)YES
prp_pricefloatYES
prp_free_canceltinyint(1)YES
prp_special_offerfloatYES
prp_ratingfloatYES
prp_reviewsintYES
prp_ical_airbnbvarchar(255)YES
prp_ical_bookingvarchar(255)YES
prp_publishtinyint(1)NO0
prp_activetinyint(1)NO1
prp_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
prp_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 2

Sample Data (first 3 rows):
prp_idprp_user_idprp_url_pathprp_titleprp_descriptionprp_property_typeprp_place_typeprp_al_numberprp_city_idprp_addressprp_coordsprp_min_daysprp_max_daysprp_check_in_timeprp_check_out_timeprp_building_codeprp_lockbox_codeprp_wifi_nameprp_wifi_passprp_contact_infoprp_check_in_obsprp_check_out_obsprp_observationprp_guestsprp_double_bedsprp_single_bedsprp_bedroomsprp_bathroomsprp_wifiprp_tvprp_air_conditioningprp_kitchenprp_kitchenetteprp_dishwasherprp_washerprp_free_parkingprp_paid_parkingprp_workspaceprp_poolprp_hot_tubprp_patioprp_beachprp_smoke_alarmprp_first_aid_kitprp_fire_extinguisherprp_carbon_alarmprp_priceprp_free_cancelprp_special_offerprp_ratingprp_reviewsprp_ical_airbnbprp_ical_bookingprp_publishprp_activeprp_created_atprp_updated_at
13beach-house-lisbonBeautiful Beach House in LisbonStunning beachfront property with amazing ocean viewshouseentire_place1Rua da Praia, 12323015:00:0011:00:0012345678BeachHouse_WiFibeach2024+351 123 456 789Please use the lockbox code to access the keys. The lockbox is located next to the main entrance.Please leave the keys in the lockbox and ensure all windows are closed.This property features a private beach access and stunning sunset views.63211111011150112025-07-20 04:11:402025-07-20 04:11:40
23city-apartment-portoModern City Apartment in PortoContemporary apartment in the heart of Porto with all amenitiesapartmententire_place2Avenida da Liberdade, 45623014:00:0010:00:0056789012PortoApartment_WiFiporto2024+351 987 654 321The apartment is on the 3rd floor. Use the elevator and the lockbox code for key access.Please return the keys to the lockbox and ensure the apartment is tidy.Located in the historic center, walking distance to all major attractions.42111101000120112025-07-20 04:11:402025-07-20 04:11:40

πŸ“‹ Table: property_images

ColumnTypeNullKeyDefaultExtra
pri_idintNOPRIauto_increment
pri_pathvarchar(255)NO
pri_property_idintNOMUL
pri_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED

Row count: 0


πŸ“‹ Table: regions

ColumnTypeNullKeyDefaultExtra
reg_idintNOPRIauto_increment
reg_namevarchar(256)NO
reg_typevarchar(50)NO
reg_price_t1floatYES
reg_price_t2floatYES
reg_price_t3floatYES
reg_price_t4floatYES
reg_reg_idintYESMUL
reg_activetinyint(1)YES1

Row count: 0


πŸ“‹ Table: reservations

ColumnTypeNullKeyDefaultExtra
res_idintNOPRIauto_increment
client_idintNO
guest_namevarchar(64)NO
pricefloatNO
checkinvarchar(16)NO
checkoutvarchar(16)NO
obsvarchar(512)NO

Row count: 0


πŸ“‹ Table: users

ColumnTypeNullKeyDefaultExtra
user_idintNOPRIauto_increment
user_namevarchar(64)NO
user_emailvarchar(64)NOUNI
user_passwordvarchar(128)NO
user_typeenum('Guest','Property Owner','Partner','Administrator')NOGuest
user_payment_obsdateYES
user_picturevarchar(128)NO
user_ipvarchar(32)NO
user_systemvarchar(256)NO
createddatetimeNO
suppliertextNO
discountintNO0
creditsfloatNO0

Row count: 4

Sample Data (first 3 rows):
user_iduser_nameuser_emailuser_passworduser_typeuser_payment_obsuser_pictureuser_ipuser_systemcreatedsupplierdiscountcredits
1John Smithjohn@example.comhashed_passwordGuest127.0.0.1Web2025-07-20 04:11:40direct00
2Sarah Johnsonsarah@example.comhashed_passwordGuest127.0.0.1Web2025-07-20 04:11:40direct00
3Maria Silvamaria@example.comhashed_passwordProperty Owner127.0.0.1Web2025-07-20 04:11:40direct00

πŸ“‹ Table: users_checkin

ColumnTypeNullKeyDefaultExtra
usr_cki_idintNOPRIauto_increment
usr_cki_namevarchar(255)YES
usr_cki_phonevarchar(255)YES
usr_cki_phone_indicativevarchar(255)YES
usr_cki_emailvarchar(255)YES
usr_cki_countryvarchar(255)YES
usr_cki_codevarchar(255)NOUNI
usr_cki_check_indateNO
usr_cki_check_outdateNO
usr_cki_prp_idintNOMUL
usr_cki_subscribedtinyint(1)NO1
usr_cki_activetinyint(1)NO1
usr_cki_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
usr_cki_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP
usr_cki_dataintYESMUL
usr_cki_cityTaxfloatYES
payment_idintYESMUL

Row count: 2

Sample Data (first 3 rows):
usr_cki_idusr_cki_nameusr_cki_phoneusr_cki_phone_indicativeusr_cki_emailusr_cki_countryusr_cki_codeusr_cki_check_inusr_cki_check_outusr_cki_prp_idusr_cki_subscribedusr_cki_activeusr_cki_created_atusr_cki_updated_atusr_cki_datausr_cki_cityTaxpayment_id
1John Smith+1 555 123 4567+1john@example.comUnited StatesGUEST0012024-07-252024-07-301112025-07-20 04:11:402025-07-20 04:11:405
2Sarah Johnson+44 20 7946 0958+44sarah@example.comUnited KingdomGUEST0022024-07-282024-08-022112025-07-20 04:11:402025-07-20 04:11:404.5

πŸ“‹ Table: users_region

ColumnTypeNullKeyDefaultExtra
usr_reg_idintNOPRIauto_increment
usr_reg_emailvarchar(255)NO
usr_reg_sizeintNO
usr_reg_1intYESMUL
usr_reg_2intYESMUL
usr_reg_3intYESMUL
usr_created_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED
usr_updated_atdatetimeNOCURRENT_TIMESTAMPDEFAULT_GENERATED on update CURRENT_TIMESTAMP

Row count: 0


🎯 Bot Architecture Suggestions

Recommended Bots:

Key Questions for You:

  1. What are the main workflows for cleaning scheduling and management?
  2. What types of reports do you need most frequently?
  3. What customer questions come up most often?
  4. What integrations do you need (Airbnb, VRBO, etc.)?
  5. What are your pain points in the current process?