Reputation: 12223
I'm hoping to rename an existing custom content type in one of my Orchard modules. Is it possible to do this in a migration?
Upvotes: 1
Views: 181
Reputation: 13366
Yes, but not by using ContentDefinitionManager
. The simplest way would be to execute an SQL update query against Settings_ContentTypeDefinitionRecord
table using SchemaBuilder.ExecuteSql
.
Upvotes: 1