Correction in db creation function

Base was misspelled.