Docs Menu
Docs Home
/
Relational Migrator
/

Delete Rules

On this page

  • About this Task
  • Steps
  • Learn More

Deleting a mapping rule removes the mapping rule from your project. Deleting a mapping rule does not remove existing collections from your MongoDB cluster.

To remove a collection from your cluster:

  • Delete the mapping rule in Relational Migrator. This avoids the collection being recreated by the next sync job.

  • Manually delete the MongoDB collection. This removes the collection from your cluster.

Deleting a parent mapping rule also deletes any child mapping rules.

For example, if you delete a New Documents rule that defines a collection and a Array in Parent rule for the same collection, the Array in Parent rule is also deleted.

  1. Open a project.

  2. In the left Schema model pane, click the table or collection for the mapping you want to delete.

    This prompts the Mappings pane to open on the right of the screen.

  3. On the Mappings pane, click the Trash Can icon.

  4. Click Delete to confirm.

← Edit Rules