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
@@ -1,9 +1,12 @@
<?php namespace App\Models;
use CodeIgniter\Model;
use App\Models\Concerns\SchoolYearAutoFillTrait;
class WhatsappGroupMembershipModel extends Model
{
use SchoolYearAutoFillTrait;
protected $table = 'whatsapp_group_memberships';
protected $primaryKey = 'id';
protected $returnType = 'array';
@@ -17,6 +20,10 @@ class WhatsappGroupMembershipModel extends Model
'verified_by',
'verified_at',
];
protected $validationRules = [
'school_year' => 'required|string|max_length[9]',
];
protected $useTimestamps = true; // created_at, updated_at
/**