Ok after carefully following the breaking changes, I still got the migration problem:
microservices worker error: Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration., stack: Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration.
I followed the TIP when restoring dataset:
Some deployment methods make it difficult to start the database without also starting the server. In these cases, you may set the environment variable DB_SKIP_MIGRATIONS=true before starting the services. This will prevent the server from running migrations that interfere with the restore process. Be sure to remove this variable and restart the services after the database is restored.
It works well with the variable = true. However, when I set it back to false (I mean delete this line), the same migration confliction problem pops up, and prevents me again logging in the page.