diff --git a/common/config/config-prod.php b/common/config/config-prod.php new file mode 100644 index 0000000..0160435 --- /dev/null +++ b/common/config/config-prod.php @@ -0,0 +1,10 @@ + [ + 'db' => [ + 'enableSchemaCache' => true, + 'schemaCacheDuration' => 3600, + 'schemaCache' => 'cache', + ], + ], +]; diff --git a/console/config/config-dev.php b/console/config/config-dev.php index 1d2118f..97192aa 100644 --- a/console/config/config-dev.php +++ b/console/config/config-dev.php @@ -2,6 +2,6 @@ return [ 'bootstrap' => ['gii'], 'modules' => [ - 'gii' => 'yii\gii\Module', + 'gii' => yii\gii\Module::class, ], ];