Edit or Delete a Custom Object
Before custom objects are deployed, you can change any part of their configuration or delete them without impacting the database since they have not been written to the database.
After deploying custom objects, you can still update or delete them if necessary, although you must then redeploy them to implement the changes to the database. We recommend redeploying custom objects only if necessary since the database will be altered.
There are some important considerations to keep in mind before you delete custom objects or fields in custom objects.
- Deleting custom objects that have relationships to other objects results in the relationships also being deleted.
- Deleting fields in custom objects that are used in relationships will also delete the relationships.
- Deleting fields from custom objects that are used in indexes will also delete the indexes, whether they are single-field or multi-field indexes.
- When you delete menu-only custom objects that are used in menu fields in other custom objects, those menu fields are also deleted.
Note: You can create custom data
lifecycle management policies for archiving and purging custom objects. See Data Lifecycle Management.