diff --git a/config/cache.php b/config/cache.php index 902b8399b1..24d453bf51 100644 --- a/config/cache.php +++ b/config/cache.php @@ -19,14 +19,15 @@ $config->cache->client->enable = false; // 是否开启客户端缓存。Enable // The KEY_FIELD is the field of the table which is used to generate the key of the cache. It must be unique in the table. $config->cache->raw = []; -$config->cache->raw[TABLE_CONFIG] = 'id'; -$config->cache->raw[TABLE_BUILD] = 'id'; -$config->cache->raw[TABLE_MODULE] = 'id'; -$config->cache->raw[TABLE_PRODUCT] = 'id'; -$config->cache->raw[TABLE_PROJECT] = 'id'; -$config->cache->raw[TABLE_RELEASE] = 'id'; -$config->cache->raw[TABLE_USER] = 'account'; -$config->cache->raw[TABLE_USERVIEW] = 'account'; +$config->cache->raw[TABLE_CONFIG] = 'id'; +$config->cache->raw[TABLE_BUILD] = 'id'; +$config->cache->raw[TABLE_MODULE] = 'id'; +$config->cache->raw[TABLE_PRODUCT] = 'id'; +$config->cache->raw[TABLE_PROJECT] = 'id'; +$config->cache->raw[TABLE_RELEASE] = 'id'; +$config->cache->raw[TABLE_STAKEHOLDER] = 'id'; +$config->cache->raw[TABLE_USER] = 'account'; +$config->cache->raw[TABLE_USERVIEW] = 'account'; $config->cache->res = []; $config->cache->res[TABLE_MODULE][] = ['name' => 'CACHE_MODULE_TREE', 'fields' => ['type', 'root', 'branch']];