Menu

#24 fix reorderCustomField different of VARCHAR(256)

Unstable_(example)
open
nobody
None
1
2014-12-23
2014-12-23
dcec
No

/ 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 .';'; }

Discussion

Anonymous
Anonymous

Add attachments
Cancel