fetchArray('SHOW COLUMNS FROM `zz_groups`'); $has_column = array_search('id_module_start', array_column($col_righe, 'Field')); if (empty($has_column)) { $database->query('ALTER TABLE `zz_groups` ADD `id_module_start` INT NULL AFTER `editable`'); }