Manage schemas¶
Create and manage Schemas in NebulaGraph Studio.
Prerequisites¶
NebulaGraph Studio is connected to the Graph service of a NebulaGraph Database Developer Edition service group. For more information, see Connect to NebulaGraph Database Developer Edition.
Create schemas¶
NebulaGraph Studio automatically loads the home schema when a session starts. By default, the home schema is at /default_schema. For the creation statement and path rules, see CREATE SCHEMA. To create a schema in NebulaGraph Studio, follow these steps:
- In the top navigation bar, click the SCHEMA tab.
- In the upper-right corner of the page, click the current schema and click Create Schema.
- In the dialog box that appears, enter the path of the schema and click Create.
- The newly created schema is displayed on the Catalog page.
Delete schemas¶
To delete a schema, follow these steps:
- In the top navigation bar, click the SCHEMA tab.
- In the upper-right corner of the page, click the current schema and click View All Schemas.
- On the Catalog page that appears, select the schema you want to delete.
- Click
at the right of the schema and click Delete. - On the confirmation dialog box that appears, enter the path of the schema and click Delete.
Switch schemas¶
To switch the schema loaded by NebulaGraph Studio, follow these steps:
- In the top navigation bar, click the SCHEMA tab.
- In the upper-right corner of the page, click the current schema.
- In the drop-down list that appears, click the schema you want to switch to.
- The selected schema is loaded by NebulaGraph Studio.