[Strapi v5] During database migration locales were lost
## Bug report

### Describe the bug

Hello 👋 

I'm currently working on updating an existing Strapi v4 to v5 and when I ran the migration tool I thought I lost all my data but everything was in my database.
In reality I found that during the migration my french local was removed and all my data had a `locale` field empty in database.

If I manually add the french locale in Strapi and if I update manually my `locale` fields in database everything is working just fine.

Maybe there is something to improve?

A clear and concise description of what the bug is.

### Steps to reproduce the behavior

1. Create a Strapi v4 app
2. Create an entity with internationalization enabled
3. Run the migration to Strapi v5
4. See you cannot find your data on Strapi dashboard because no `locale` in db

### Expected behavior

During migration from v4 to v5, internationalization should be handled for migrated entities

### Required System information

- Node.js version: 20
- NPM version: 10
- Strapi version: v5.6.0
- Database: PostgreSQL
- Operating system: Windows
- Is your project Javascript or Typescript: Typescript
