getTable('dav_absence'); if (!$tableDavAbsence->hasColumn('replacement_user_id')) { $tableDavAbsence->addColumn('replacement_user_id', Types::STRING, [ 'notnull' => false, 'default' => '', 'length' => 64, ]); } if (!$tableDavAbsence->hasColumn('replacement_user_display_name')) { $tableDavAbsence->addColumn('replacement_user_display_name', Types::STRING, [ 'notnull' => false, 'default' => '', 'length' => 64, ]); } return $schema; } }