Skip to content

Commit bfc576f

Browse files
author
Liza K
committed
Delete migration
1 parent 2f0b467 commit bfc576f

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/core/server/ui_settings/saved_objects/migrations.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,4 @@ export const migrations = {
5656
}),
5757
references: doc.references || [],
5858
}),
59-
'7.13.0': (doc: SavedObjectUnsanitizedDoc<any>): SavedObjectSanitizedDoc<any> => ({
60-
...doc,
61-
...(doc.attributes && {
62-
attributes: Object.keys(doc.attributes).reduce(
63-
(acc, key) =>
64-
key === 'ml:fileDataVisualizerMaxFileSize'
65-
? {
66-
...acc,
67-
['fileUpload:maxFileSize']: doc.attributes[key],
68-
}
69-
: {
70-
...acc,
71-
[key]: doc.attributes[key],
72-
},
73-
{}
74-
),
75-
}),
76-
references: doc.references || [],
77-
}),
7859
};

0 commit comments

Comments
 (0)