From 6499232835aba83244a29b929e0cda0dc7517025 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Fri, 5 Sep 2025 14:03:50 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=B2?= =?utf8?q?=D0=BA=D0=BB=D1=8E=D1=87=D0=B8=D0=BB=20=D0=BA=D0=B5=D1=88=D0=B8?= =?utf8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=81=D1=85=D0=B5?= =?utf8?q?=D0=BC=D1=8B=20=D0=91=D0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/config/db.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/erp24/config/db.php b/erp24/config/db.php index de11f20a..0e54fdd6 100644 --- a/erp24/config/db.php +++ b/erp24/config/db.php @@ -17,9 +17,10 @@ return 1 == 1 ? [ ], // 'on afterOpen' => function($event) { $event->sender->createCommand("SET search_path TO public, erp24;")->execute(); }, // PostgreSQL -// 'charset' => 'utf8', -// 'enableSchemaCache' => true, -// 'schemaCacheDuration' => 300, + 'charset' => 'utf8', + 'enableSchemaCache' => true, + 'schemaCacheDuration' => 600, + 'schemaCache' => 'cache', ] : [ 'class' => yii\db\Connection::class, 'dsn' => strtr('mysql:host={host};port={port};dbname={dbname}', [ -- 2.39.5