mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-03 17:27:29 +01:00
Fix tabella zz_groups
This commit is contained in:
parent
bdc7487da6
commit
aac06d1c0f
11
update/2_5_3.php
Normal file
11
update/2_5_3.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
include_once __DIR__.'/core.php';
|
||||
|
||||
// Controllo se è presente il campo nome in zz_groups
|
||||
$has_nome = database()->columnExists('zz_groups', 'nome');
|
||||
$has_name = database()->columnExists('zz_groups', 'name');
|
||||
|
||||
if ($has_name && $has_nome) {
|
||||
$database->query('ALTER TABLE `zz_groups` DROP `name`');
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user