Change database configuration to work with pg