Skip to content

Commit 50658ed

Browse files
committed
Delete migration
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
1 parent f59a1dc commit 50658ed

File tree

4 files changed

+2
-163
lines changed

4 files changed

+2
-163
lines changed

src/plugins/saved_objects/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Saved object
22

3-
The saved object plugin provides all the core services and functionalities of saved objects. It is utilized by many core plugins such as [`visualization`](../visualizations/), [`dashboard`](../dashboard/) and [`visBuilder`](../visBuilder/), as well as external plugins. Saved object is the primary way to store app and plugin data in a standardized form in OpenSearch Dashboards. They allow plugin developers to manage creating, saving, editing and retrieving data for the application. They can also make reference to other saved objects and have useful features out of the box, such as migrations and strict typings. The saved objects can be managed by the Saved Object Management UI.
3+
The saved object plugin provides all the core services and functionalities of saved objects. It is utilized by many core plugins such as [`visualization`](../visualizations/), [`dashboard`](../dashboard/) and [`visBuilder`](../vis_builder/), as well as external plugins. Saved object is the primary way to store app and plugin data in a standardized form in OpenSearch Dashboards. They allow plugin developers to manage creating, saving, editing and retrieving data for the application. They can also make reference to other saved objects and have useful features out of the box, such as migrations and strict typings. The saved objects can be managed by the Saved Object Management UI.
44

55
## Save relationships to index pattern
66

src/plugins/vis_builder/server/saved_objects/vis_builder_app.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
VisBuilderSavedObjectAttributes,
1111
VISBUILDER_SAVED_OBJECT,
1212
} from '../../common';
13-
import { visBuilderSavedObjectTypeMigrations } from './vis_builder_migration';
1413

1514
export const visBuilderSavedObjectType: SavedObjectsType = {
1615
name: VISBUILDER_SAVED_OBJECT,
@@ -30,7 +29,7 @@ export const visBuilderSavedObjectType: SavedObjectsType = {
3029
};
3130
},
3231
},
33-
migrations: visBuilderSavedObjectTypeMigrations,
32+
migrations: {},
3433
mappings: {
3534
properties: {
3635
title: {

src/plugins/vis_builder/server/saved_objects/vis_builder_migration.test.ts

Lines changed: 0 additions & 107 deletions
This file was deleted.

src/plugins/vis_builder/server/saved_objects/vis_builder_migration.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)