Fix error sending reminder SMS

This commit is contained in:
2026-10-06 13:49:03 +03:30
parent 5074c6d791
commit bc01384551
6 changed files with 191 additions and 48 deletions
+3
View File
@@ -608,6 +608,8 @@ model Activity {
reminderNotifyApp Boolean @default(true)
/// پیامک به موبایل مسئول هنگام رسیدن یادآور
reminderNotifySms Boolean @default(false)
/// زمان ارسال یادآور؛ با تغییر reminderAt پاک می‌شود
reminderSentAt DateTime?
completedAt DateTime?
tags String[] @default([])
personId String?
@@ -629,6 +631,7 @@ model Activity {
@@index([organizationId, status, dueAt])
@@index([organizationId, assigneeId])
@@index([organizationId, createdById])
@@index([reminderAt, reminderSentAt])
@@index([personId])
@@index([companyId])
@@index([dealId])