Changed database adapter to Postgresql