summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-02 20:54:58 +0200
committerGitHub <noreply@github.com>2017-08-02 20:54:58 +0200
commitc40352c03071740f51544f0fcd7fc787c5c3f27b (patch)
treed8b49e4669bf204f9ff72aead7d95b9f70d60b47 /core/Command
parenta0939f78b3c3e3686dfe897123304066e5f9bf4f (diff)
parent78412fda9c0af263ecd6454fd52d72a040debe2f (diff)
downloadnextcloud-server-c40352c03071740f51544f0fcd7fc787c5c3f27b.tar.gz
nextcloud-server-c40352c03071740f51544f0fcd7fc787c5c3f27b.zip
Merge pull request #5816 from nextcloud/fix-oracle
Fix oracle
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Maintenance/Install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php
index fa6262d24ad..342614236d7 100644
--- a/core/Command/Maintenance/Install.php
+++ b/core/Command/Maintenance/Install.php
@@ -61,6 +61,7 @@ class Install extends Command {
->addOption('database-user', null, InputOption::VALUE_REQUIRED, 'User name to connect to the database')
->addOption('database-pass', null, InputOption::VALUE_OPTIONAL, 'Password of the database user', null)
->addOption('database-table-prefix', null, InputOption::VALUE_OPTIONAL, 'Prefix for all tables (default: oc_)', null)
+ ->addOption('database-table-space', null, InputOption::VALUE_OPTIONAL, 'Table space of the database (oci only)', null)
->addOption('admin-user', null, InputOption::VALUE_REQUIRED, 'User name of the admin account', 'admin')
->addOption('admin-pass', null, InputOption::VALUE_REQUIRED, 'Password of the admin account')
->addOption('data-dir', null, InputOption::VALUE_REQUIRED, 'Path to data directory', \OC::$SERVERROOT."/data");
@@ -171,6 +172,9 @@ class Install extends Command {
'adminpass' => $adminPassword,
'directory' => $dataDir
];
+ if ($db === 'oci') {
+ $options['dbtablespace'] = $input->getParameterOption('--database-table-space', '');
+ }
return $options;
}