KRACOEUS-7014:fixing sql scripts