Manage schemas¶
This topic introduces how to manage schemas in NebulaGraph Cloud.
- On the Database page, click the name of the database that you created to view the database details.
- On the left-side navigation pane of the database details page, click Graph under Data.
- Follow the steps below to create, delete, and switch schemas.
Create schemas¶
NebulaGraph Studio automatically loads the home schema when a session is started. The schema located at the logical path /default_schema
is used as the home schema by default. To create new schemas, 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.