自定义 Silverstripe 元字段未保存

Custom Silverstripe Meta Field not saving

我使用下面的代码创建了一个元标题,但它适用于我的大多数网站,但一个特定的网站不会保存元标题,所以当我编辑它时,它会显示我之前输入的标题,所有网站的代码相同,但一个不储蓄?

class Page extends SiteTree {

    private static $db = array(
      'MetaTitle' => 'Varchar(255)'
    );

    private static $has_one = array(
    );

    public function getCMSFields() {
        $fields = parent::getCMSFields();

        $fields->addFieldToTab('Root.Main', TextField::create('MetaTitle')
                ->setRightTitle('Shown at the top of the browser window and used as the "linked text" by search engines.')
                ->addExtraClass('help')
            , 'MetaDescription');

        return $fields;
    }

}

如果在添加新的 $db 属性 后没有/dev/build,更改将无法正确保存。