Skip to content
RENAME Componettypename old_component_name TO new_component_name;

The RENAME command renames a component. You can only rename custom components (components with a __c namespace) such as my_product__c. The command returns an error if a component with the same name already exists.

For example, you can rename the picklist from the examples above from color__c to colors__c to match the label.

RENAME Picklist color__c TO colors__c;