KRACOEUS-7636: Fixing db scripts