db_create sets up db correctly