Changed database to PostgreSQL