the clue imho is with inconsistency with schemas and data in DB. Cuz Strapi is a data schema related app - it wipes all data accordinglly to data schema. If you migrate new data to your DB without apropriate changes in schema files - it will wipe you data from db at a build time