Fixed database creation error.