leads


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 36 null
location_business_line_id VARCHAR 36 null
first_name VARCHAR 100 null
last_name VARCHAR 100 null
date_of_birth DATE 10 √ null
email VARCHAR 255 √ null
phone_number VARCHAR 20 √ null
referral_source VARCHAR 255 √ null
address TEXT 65535 √ null
status VARCHAR 20 NEW
non_converted_reason TEXT 65535 √ null
converted_client_id VARCHAR 36 √ null
created_at DATETIME 19 CURRENT_TIMESTAMP
updated_at DATETIME 19 √ null
created_by VARCHAR 255 √ null
updated_by VARCHAR 255 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_lead_email Performance Asc email
idx_lead_lbl Performance Asc location_business_line_id
idx_lead_phone Performance Asc phone_number
idx_lead_status Performance Asc status

Relationships