OLD
INSERT INTO npc_types VALUES (6039,'a_shambling_cube',55,184,1,0,2,2,2,25,0,0,0 ,0,0,0,'','',0,0,0,1,1,1,1,1);
NEW
INSERT INTO npc_types VALUES (6039,'a_shambling_cube',55,184,1,0,2,2,2,25,0,0,0 ,0,0,0,'','',0,0,0,1,1,1,1,1,0,0,0,0,0);
Basically, before the ); it adds the following:
,0,0,0,0,0 and then the );
Sooner I get one, the sooner I can release a working 0.3.1.1+ db