Changed local database to postgresql.