Database adapter updated to Postgre