Duplicate data storing in PostgreSQL

Hi, apparently Strapi stores one record for published and the other for unpublished. this happens in MySQL too