You can modify your existing entity-relationship diagram in Atlas to plan changes to your data model without affecting your actual data.
In the Data Modeling tab, you can:
Add or remove fields
Change field data types
Rename fields
Note
Any changes you make to your entity-relationship diagram don't affect your actual database.
Procedure
The following steps describe how you can add, edit, and remove fields in your entity-relationship diagram:
In Atlas, go to the Data Explorer page for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Explorer under the Database heading.
The Data Explorer displays.
Note
You can also go to the Clusters page, and click Data Explorer under the Shortcuts heading.
(Optional) Change a field's data type.
In the Datatype drop-down menu, select the datatypes that you want to assign to the field. Because data in MongoDB has a flexible schema model, you can specify multiple data types for a field. If a field contains multiple data types, Atlas labels the field as (mixed) in the diagram.