diff --git a/backend/public/test_simulation.php b/backend/public/test_simulation.php index c862468..46f750f 100644 --- a/backend/public/test_simulation.php +++ b/backend/public/test_simulation.php @@ -28,6 +28,8 @@ WhatsAppSession::updateState($session['id'], [ $session = WhatsAppSession::findByCompany($companyId); echo "1. Cleaning up existing test states/reminders...\n"; +DriverReminder::ensureTableExists(); +\App\Models\DriverOcrData::ensureTableExists(); Database::execute("DELETE FROM conversation_states WHERE contact_phone = ?", [$phone]); Database::execute("DELETE FROM driver_registration_reminders WHERE phone = ?", [$phone]); Database::execute("DELETE FROM driver_ocr_data WHERE phone = ?", [$phone]);