fix enrollment logic, add financial aid, fix class distribution
Tests / PHPUnit (push) Failing after 1m6s

This commit is contained in:
root
2026-08-15 15:07:16 -04:00
parent c12bb59372
commit 4603d9ced2
95 changed files with 6892 additions and 1295 deletions
@@ -0,0 +1,38 @@
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class AddEnrollmentExceptionFamilyStudentIds extends Migration
{
public function up(): void
{
if (! $this->db->tableExists('enrollment_exceptions')) {
return;
}
if ($this->db->fieldExists('family_student_ids_json', 'enrollment_exceptions')) {
return;
}
$this->forge->addColumn('enrollment_exceptions', [
'family_student_ids_json' => [
'type' => 'TEXT',
'null' => true,
'after' => 'bypassed_rule_codes_json',
],
]);
}
public function down(): void
{
if (! $this->db->tableExists('enrollment_exceptions')) {
return;
}
if ($this->db->fieldExists('family_student_ids_json', 'enrollment_exceptions')) {
$this->forge->dropColumn('enrollment_exceptions', 'family_student_ids_json');
}
}
}