Changed database to POSTGRESQL