Fixed db creation statement bug