tpl/destructiveChanges.xml.erb in salesforce-dcgen-0.5.0 vs tpl/destructiveChanges.xml.erb in salesforce-dcgen-0.6.0
- old
+ new
@@ -86,9 +86,17 @@
<members><%= @layout %></members>
<% end %>
<name>Layout</name>
</types>
<% end %>
+<% if not @metadata[:validationrule].empty? %>
+ <types>
+ <% for @validationrule in @metadata[:validationrule] %>
+ <members><%= @validationrule %></members>
+ <% end %>
+ <name>ValidationRule</name>
+ </types>
+<% end %>
<% if not @metadata[:customobject].empty? %>
<types>
<% for @customobject in @metadata[:customobject] %>
<members><%= @customobject %></members>
<% end %>