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
@@ -8,6 +8,10 @@ class AddWaiverSignedToEventCharges extends Migration
{
public function up()
{
if (! $this->db->tableExists('event_charges')) {
return;
}
$fields = [
'waiver_signed' => [
'type' => 'TINYINT',
@@ -24,7 +28,7 @@ class AddWaiverSignedToEventCharges extends Migration
public function down()
{
if ($this->db->fieldExists('waiver_signed', 'event_charges')) {
if ($this->db->tableExists('event_charges') && $this->db->fieldExists('waiver_signed', 'event_charges')) {
$this->forge->dropColumn('event_charges', 'waiver_signed');
}
}