Deploy: 2026-05-22 21:53:58
This commit is contained in:
@@ -28,6 +28,8 @@ WhatsAppSession::updateState($session['id'], [
|
|||||||
$session = WhatsAppSession::findByCompany($companyId);
|
$session = WhatsAppSession::findByCompany($companyId);
|
||||||
|
|
||||||
echo "1. Cleaning up existing test states/reminders...\n";
|
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 conversation_states WHERE contact_phone = ?", [$phone]);
|
||||||
Database::execute("DELETE FROM driver_registration_reminders WHERE phone = ?", [$phone]);
|
Database::execute("DELETE FROM driver_registration_reminders WHERE phone = ?", [$phone]);
|
||||||
Database::execute("DELETE FROM driver_ocr_data WHERE phone = ?", [$phone]);
|
Database::execute("DELETE FROM driver_ocr_data WHERE phone = ?", [$phone]);
|
||||||
|
|||||||
Reference in New Issue
Block a user