diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-21 11:17:12 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-02 09:48:15 +0200 |
commit | 3b648645f462907462a3cf1233406eebe13bd64d (patch) | |
tree | 88a364859b15818c6816ac384c7a3fb0d47d60e9 /core/Command | |
parent | 8ec6c1f259147e5b9c065b1be4ad3c794d32e381 (diff) | |
download | nextcloud-server-3b648645f462907462a3cf1233406eebe13bd64d.tar.gz nextcloud-server-3b648645f462907462a3cf1233406eebe13bd64d.zip |
Allow to specify the table space on occ
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Maintenance/Install.php | 4 |
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; } |