From 784183c64611fd12bf96513a59eb616edf3f7366 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 13 Dec 2021 10:44:07 +0100 Subject: [PATCH] Update src/Appwrite/Migration/Version/V11.php Co-authored-by: kodumbeats --- src/Appwrite/Migration/Version/V11.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Migration/Version/V11.php b/src/Appwrite/Migration/Version/V11.php index 98997439c4..ec91a53a4a 100644 --- a/src/Appwrite/Migration/Version/V11.php +++ b/src/Appwrite/Migration/Version/V11.php @@ -43,8 +43,8 @@ class V11 extends Migration if (!is_null($cache)) { $cacheAdapter = new Cache(new RedisCache($this->cache)); - $this->dbInternal = new Database(new MariaDB($this->db), $cacheAdapter); - $this->dbExternal = new Database(new MariaDB($this->db), $cacheAdapter); + $this->dbInternal = new Database(new MariaDB($this->db), $cacheAdapter); // namespace is set on execution + $this->dbExternal = new Database(new MariaDB($this->db), $cacheAdapter); // namespace is set on execution $this->dbConsole = new Database(new MariaDB($this->db), $cacheAdapter); $this->dbConsole->setNamespace('project_console_internal'); }