Changed MySQL Database to PostGreSQL