1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

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

Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
This commit is contained in:
Torsten Dittmann 2021-12-13 10:44:07 +01:00 committed by GitHub
parent ea7d9f617c
commit 784183c646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');
}