Database set up and adjusts.