make sure database is created