Repository navigation
use pdo for postgres setup - #381
Conversation
|
@icewind1991, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bartv2, @DeepDiver1975 and @Faldon to be potential reviewers |
|
| return $userIDs; | ||
| } | ||
|
|
||
| public function getSystemConfig() { |
There was a problem hiding this comment.
😰 why? just use the methods from above?
There was a problem hiding this comment.
The connectionfactory wants a systemconfig instance
There was a problem hiding this comment.
Then mark @internal at least please
There was a problem hiding this comment.
It's not exposed in the public interface
There was a problem hiding this comment.
mmmm Maybe we should change the connectionfactory at some point then.
bab359d to
908d750
Compare
908d750 to
b288c67
Compare
|
Tests are all green now |
|
👍 |
1 similar comment
|
👍 |
| $query = $connection->prepare("ALTER ROLE " . addslashes($this->dbUser) . " CREATEDB WITH PASSWORD " . addslashes($this->dbPassword)); | ||
| } else { | ||
| // create the user | ||
| $query = $connection->prepare("CREATE USER " . addslashes($this->dbUser) . " CREATEDB PASSWORD " . addslashes($this->dbPassword)); |
There was a problem hiding this comment.
This broke the tests on my app:
Syntax error: 7 ERROR: syntax error at or near "zxngvsgscub2i9frs64ac9r43ivk6j"
LINE 1: CREATE USER oc_admin CREATEDB PASSWORD zxngvsgscub2i9frs64ac
The ' are missing, I will add them.
https://travis-ci.org/nextcloud/announcementcenter/jobs/145487372
…ster command (nextcloud#381) Do not remove ExApp docker volume by default, deprecate old option `keep-data`, add new `rm-data` to remove ExApp data. --------- Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Removes the need of having the pgsql extension installed by using pdo/doctrine during setup
Fixes #367