fix school year for all tables
Tests / PHPUnit (push) Failing after 1m20s

This commit is contained in:
root
2026-07-18 14:45:38 -04:00
parent 4db8334a3c
commit 716cc8b8d3
125 changed files with 2315 additions and 81 deletions
+5
View File
@@ -3,9 +3,12 @@
namespace App\Models;
use CodeIgniter\Model;
use App\Models\Concerns\SchoolYearAutoFillTrait;
class WhatsappInviteLogModel extends Model
{
use SchoolYearAutoFillTrait;
protected $table = 'whatsapp_invites_log';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
@@ -21,6 +24,7 @@ class WhatsappInviteLogModel extends Model
'status',
'error_message',
'sent_at',
'school_year',
];
protected $useTimestamps = false; // we handle sent_at manually
@@ -34,6 +38,7 @@ class WhatsappInviteLogModel extends Model
'status' => 'required|max_length[20]',
'class_section_id' => 'permit_empty|integer',
'link_id' => 'permit_empty|integer',
'school_year' => 'required|string|max_length[9]',
];
protected $validationMessages = [];