Add SmsServiceLookupOnlyTest AST and migration for template_code in sms_logs

- Created a new AST JSON file for SmsServiceLookupOnlyTest.php, detailing nodes, edges, and raw calls for better code analysis.
- Added a new migration (Version20260707202553) to alter the sms_logs table by adding a nullable template_code column.
This commit is contained in:
hamed
2026-07-08 00:03:33 +03:30
parent 2982eaa7e3
commit a2c809b7de
21 changed files with 1092 additions and 840 deletions
+1
View File
@@ -314,6 +314,7 @@ export default function SmsPage() {
},
},
{ key: 'tag', header: 'تگ', render: (l) => <span className="badge gray"><span className="bdot" />{TAG_LABELS[l.tag] ?? l.tag}</span> },
{ key: 'template', header: 'الگوی کاوه‌نگار', render: (l) => l.template ? <code dir="ltr" style={{ fontSize: 12 }}>{l.template}</code> : <span className="muted"></span> },
{ key: 'provider', header: 'سرویس‌دهنده' },
{ key: 'sent_at', header: 'زمان ارسال', render: (l) => formatDateTime(l.sent_at) },
];
+1
View File
@@ -201,6 +201,7 @@ export interface SmsLog {
status: "queued" | "sent" | "failed";
provider: string;
tag: string;
template: string | null;
sent_at: string | null;
created_at: string;
}