diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-02 20:54:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 20:54:58 +0200 |
commit | c40352c03071740f51544f0fcd7fc787c5c3f27b (patch) | |
tree | d8b49e4669bf204f9ff72aead7d95b9f70d60b47 /core/Command | |
parent | a0939f78b3c3e3686dfe897123304066e5f9bf4f (diff) | |
parent | 78412fda9c0af263ecd6454fd52d72a040debe2f (diff) | |
download | nextcloud-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.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; } |