Exceeding Maximum Number of Schema Migrations - Deleting Properties

I’m encountering an error ‘OntologyMetadata:TooManySchemaMigrationsForObjectType’ because I have exceeded the maximum number of allowed migrations, which is 50, with a total of 86 migrations. The documentation suggests performing migrations in batches, but I’m unable to save changes when attempting to do so.

I am trying to delete 86 properties from an object because they are not in the backing datasource any longer. I can’t remove 36 and then the other 50, because it won’t let me save while the 50 are still unbacked.

Hi @ 937f51caef793ce4d141,

The batching suggestion is the only way to get unblocked today - maybe you can also stage hand in hand the backing dataset modifications in the batches of 50?

Based on the feedback we received internally, we will increase this limits higher as it isn’t practical in the real world. Will keep you posted.

EDIT: The changes to the limitation and documentation will roll out in the upcoming days. New limit will be 500.