tried to convert to Postgresql but not sure it was successful