/** * GO caches the table schema for performance. We need to clear it */ private function _clearColumnCache() { //deleted cached column schema. See AbstractCustomFieldsRecord \GO\Base\Db\Columns::clearCache(\GO::getModel(\GO::getModel($this->category->extends_model)->customfieldsModel())); \GO::cache()->delete('customfields_' . $this->category->extends_model); }