Blame view

environments/dev/common/config/db.php 1.19 KB
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  <?php
  return [
      'db' => [
          'dsn' => 'mysql:host=localhost;dbname=base',
          'username' => 'root',
          'password' => '',
          'charset' => 'utf8',
          'tablePrefix' => 'fv_',
          // Duration of schema cache.
          'schemaCacheDuration' => YII_ENV_DEV ? 180 : 86400,
          // Name of the cache component used to store schema information
          'schemaCache' => 'cache',
          'enableSchemaCache' => !YII_ENV_DEV,
          //queryCache
          'queryCache' => 'cache',
          'queryCacheDuration' => YII_ENV_DEV ? 180 : 21600,
          'enableQueryCache' => !YII_ENV_DEV,
      ],
      'db-core' => [
          'dsn' => 'mysql:host=localhost;dbname=base',
          'username' => 'root',
          'password' => '',
          'charset' => 'utf8',
          'tablePrefix' => 'fv_',
          // Duration of schema cache.
          'schemaCacheDuration' => YII_ENV_DEV ? 180 : 86400,
          // Name of the cache component used to store schema information
          'schemaCache' => 'cache',
          'enableSchemaCache' => !YII_ENV_DEV,
          //queryCache
          'queryCache' => 'cache',
          'queryCacheDuration' => YII_ENV_DEV ? 180 : 21600,
          'enableQueryCache' => !YII_ENV_DEV,
      ],
  ];