Download backend/database/migration_uppercase_queue_status_enum.sql from archittmittal/Backend_PatientAppointment: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/archittmittal/Backend_PatientAppointment/resolve/main/backend/database/migration_uppercase_queue_status_enum.sql
- Command line
-
hf download hf://spaces/archittmittal/Backend_PatientAppointment/backend/database/migration_uppercase_queue_status_enum.sql
-
curl -L -o migration_uppercase_queue_status_enum.sql https://huggingface.co/spaces/archittmittal/Backend_PatientAppointment/resolve/main/backend/database/migration_uppercase_queue_status_enum.sql
529 Bytes
| -- migration_cleanup_status_enum.sql | |
| -- Expands the appointments.status ENUM to include CHECKED_IN and IN_PROGRESS | |
| -- Required by: Multi-Doctor Journey (updateStopStatus), Live Queue (queue/:id/status endpoint) | |
| -- Run once after deployment. Safe to re-run (MODIFY COLUMN is idempotent for ENUM expansion). | |
| ALTER TABLE appointments | |
| MODIFY COLUMN status ENUM( | |
| 'PENDING', | |
| 'CONFIRMED', | |
| 'SCHEDULED', | |
| 'WAITING', | |
| 'CHECKED_IN', | |
| 'IN_PROGRESS', | |
| 'COMPLETED', | |
| 'CANCELLED', | |
| 'MISSED' | |
| ) DEFAULT 'PENDING'; | |