fix reorderCustomField different of VARCHAR(256)
phpipam open-source IP address management
Brought to you by:
myha
/ update request /
if($old['Null']=="NO") { $query = 'ALTER TABLE '.$table.'
MODIFY COLUMN '. $current .'
'.$old['Type'].' NOT NULL COMMENT "'.$old['Comment'].'" AFTER '. $next .'
;'; }
else { $query = 'ALTER TABLE '.$table.'
MODIFY COLUMN '. $current .'
'.$old['Type'].' DEFAULT NULL COMMENT "'.$old['Comment'].'" AFTER '. $next .'
;'; }
Anonymous