mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Add missing widget models to db classname remapping
SilverStripe 4 has introduced namespacing, and thus ClassName field in the database is now referring to classes that no longer exist. However on a dev/build these will be updated so long as there is configuration mapping the old class name to the new class name. However Blog module here is missing the widget classes, which causes problems with migrations. This will fix that.
This commit is contained in:
parent
d7a2fc5a6c
commit
6e1c77af0b
@ -7,3 +7,8 @@ SilverStripe\ORM\DatabaseAdmin:
|
||||
BlogCategory: SilverStripe\Blog\Model\BlogCategory
|
||||
BlogPost: SilverStripe\Blog\Model\BlogPost
|
||||
BlogTag: SilverStripe\Blog\Model\BlogTag
|
||||
BlogArchiveWidget: SilverStripe\Blog\Widgets\BlogArchiveWidget
|
||||
BlogCategoriesWidget: SilverStripe\Blog\Widgets\BlogCategoriesWidget
|
||||
BlogRecentPostsWidget: SilverStripe\Blog\Widgets\BlogRecentPostsWidget
|
||||
BlogTagsCloudWidget: SilverStripe\Blog\Widgets\BlogTagsCloudWidget
|
||||
BlogTagsWidget: SilverStripe\Blog\Widgets\BlogTagsWidget
|
Loading…
Reference in New Issue
Block a user