Skip to content

Commit

Permalink
Delete migration
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <[email protected]>
  • Loading branch information
abbyhu2000 committed Oct 28, 2022
1 parent f59a1dc commit 50658ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 163 deletions.
2 changes: 1 addition & 1 deletion src/plugins/saved_objects/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Saved object

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.
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.

## Save relationships to index pattern

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
VisBuilderSavedObjectAttributes,
VISBUILDER_SAVED_OBJECT,
} from '../../common';
import { visBuilderSavedObjectTypeMigrations } from './vis_builder_migration';

export const visBuilderSavedObjectType: SavedObjectsType = {
name: VISBUILDER_SAVED_OBJECT,
Expand All @@ -30,7 +29,7 @@ export const visBuilderSavedObjectType: SavedObjectsType = {
};
},
},
migrations: visBuilderSavedObjectTypeMigrations,
migrations: {},
mappings: {
properties: {
title: {
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 50658ed

Please sign in to comment.