getTable('user_status'); if (!$statusTable->hasColumn('is_backup')) { $statusTable->addColumn('is_backup', Types::BOOLEAN, [ 'notnull' => false, 'default' => false, ]); } return $schema; } }