Add legacy class map for migrating ClassName in SiteTree

This commit is contained in:
Robbie Averill 2016-12-19 10:06:30 +13:00
parent 58e5ebb652
commit 413e94e186

9
_config/legacy.yml Normal file
View File

@ -0,0 +1,9 @@
---
Name: bloglegacy
---
SilverStripe\ORM\DatabaseAdmin:
classname_value_remapping:
Blog: SilverStripe\Blog\Model\Blog
BlogCategory: SilverStripe\Blog\Model\BlogCategory
BlogPost: SilverStripe\Blog\Model\BlogPost
BlogTag: SilverStripe\Blog\Model\BlogTag