Fix db creation script