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
@@ -8,6 +8,10 @@ class AddIsLegacyToExamDrafts extends Migration
{
public function up()
{
if ($this->db->fieldExists('is_legacy', 'exam_drafts')) {
return;
}
$this->forge->addColumn('exam_drafts', [
'is_legacy' => [
'type' => 'TINYINT',
@@ -20,7 +24,8 @@ class AddIsLegacyToExamDrafts extends Migration
public function down()
{
$this->forge->dropColumn('exam_drafts', 'is_legacy');
if ($this->db->fieldExists('is_legacy', 'exam_drafts')) {
$this->forge->dropColumn('exam_drafts', 'is_legacy');
}
}
}