Hello ,
Any best practices around how do we manage objects which are not required anymore ?
Specially when those objects have been previously deployed to production.
Is it a best practice to delete such objects ? If this could be an option , then such objects could be easily deleted in the development environment but then how do we promote the deletion to high environments ?
Or someone will have to manually delete them in the high environments ?
Thank you.
Discussion posts and replies are publicly visible
I would simply mark them as deprecated (with a DEPRECATED prefix). Move them to an application with all your other deprecated objects. Push that app across your environments.
You can choose to delete them manually at some point if you wish.
Thanks Mathieu.
Same question , is there a reason why the object deletion should be avoided ? Specially when we are sure that it does not have any dependents(not being used).
Also maintaining and deploying such a deprecated objects app each time could be an overhead. Specially when we have a single shared app across all the other apps.