KCINFR-979: Fixing db scripts failure
Merge pull request #508 from gathreya/dbFix3

KCINFR-979: Fixing db scripts failure