Commit da14fb87 authored by xiabin's avatar xiabin

开启 Schema 缓存

parent 5c78db44
......@@ -12,6 +12,13 @@ return [
'username' => 'root',
'password' => 'mysql123',
'charset' => 'utf8',
'enableSchemaCache' => true,
// Duration of schema cache.
'schemaCacheDuration' => 3600,
// Name of the cache component used to store schema information
'schemaCache' => 'cache',
],
'redis' => [
'class' => 'yii\redis\Connection',
......
......@@ -12,6 +12,13 @@ return [
'username' => 'pp_c',
'password' => 'nF@V5LK#ilb!NEvZ@1Ze#rWm#H',
'charset' => 'utf8',
'enableSchemaCache' => true,
// Duration of schema cache.
'schemaCacheDuration' => 3600,
// Name of the cache component used to store schema information
'schemaCache' => 'cache',
],
'redis' => [
'class' => 'yii\redis\Connection',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment