Fix saving global metadata applied migration

The applied migration change never got stored on the server because the mutation got excluded due to incorrectly setting the "isMigration" flag to false.
This resulted in executing the missing migration everytime the metadata were read.

Regression 430939a47a
This commit is contained in:
schroda
2026-04-07 15:06:35 +02:00
parent 8a5aaf51f3
commit cc31f592cd

View File

@@ -1314,7 +1314,7 @@ export class RequestManager {
hasPostUpdateDeletions:
!!postUpdateDeleteInput.keys?.length || !!postUpdateDeleteInput.prefixes?.length,
migrateInput,
isMigration: !!updateInput.metas.length,
isMigration: !!migrateInput.metas.length,
},
{
optimisticResponse: {