| Field | Type | Null | Key | Default |
|---|---|---|---|---|
id |
int | NO | PRI | |
source |
varchar(50) | NO | MUL | M365 |
contact_email |
varchar(255) | YES | ||
slot_datetime |
datetime | NO | ||
duration_minutes |
int | NO | 30 | |
is_available |
tinyint(1) | NO | 1 | |
updated_at |
timestamp | YES | CURRENT_TIMESTAMP | |
sync_batch_id |
varchar(100) | YES |
If you want only one appointment per time slot regardless of consultant count, we need to: