set up db during provision