fix db for tests
Tests / PHPUnit (push) Successful in 1m16s

This commit is contained in:
root
2026-07-16 00:23:49 -04:00
parent 745c294012
commit 7c341ca624
2 changed files with 29 additions and 4 deletions
@@ -28,6 +28,12 @@ class RepairModelSchemaColumns extends Migration
'after' => 'close_description',
]);
$this->addColumnIfMissing('current_flag', 'action_taken', [
'type' => 'TEXT',
'null' => true,
'after' => 'close_description',
]);
$this->addColumnIfMissing('user_preferences', 'timezone', [
'type' => 'VARCHAR',
'constraint' => 64,
@@ -50,6 +56,7 @@ class RepairModelSchemaColumns extends Migration
'calendar_events' => 'event_type',
'exams' => 'school_year',
'flag' => 'action_taken',
'current_flag' => 'action_taken',
'user_preferences' => 'timezone',
'student_class' => 'is_event_only',
] as $table => $column) {