Deploy: 2026-05-22 21:53:58

This commit is contained in:
Hamza-Ayed
2026-05-22 21:53:58 +03:00
parent 8acca92bba
commit 01f70f2274

View File

@@ -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]);