For Mysql -> PG fixes ERROR:  duplicate key value violates unique constraint