Update src/Appwrite/Migration/Version/V11.php

Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
This commit is contained in:
Torsten Dittmannandkodumbeats authored and GitHub committed 2021-12-13 10:44:07 +01:00
1 parent ea7d9f617c
commit 784183c646
1 file changed
+2 -2
+2 -2
View File
@@ -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');
}