a:1:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:24:"utilities_addprimarykeys";s:4:"nome";s:9:"onExecute";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:535:"//Add Primary Key
$update_sql = "ALTER TABLE greigepo ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);
$update_sql = "ALTER TABLE custbill ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);
$update_sql = "ALTER TABLE warppo ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);
$update_sql = "ALTER TABLE line ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);
$update_sql = "ALTER TABLE invoice ADD ID2 INT PRIMARY KEY AUTO_INCREMENT";
sc_exec_sql($update_sql);";}}