change the database to postgre