diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-04-15 17:14:26 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-04-15 17:14:26 +0200 |
commit | 5fe25868bcfd48cafe0fd569de13a593f6b46738 (patch) | |
tree | 12a182b955226ef3959430cd6c567035c2644235 /core | |
parent | 9823d54bb8b88adeae9d976c57dc3f366a3d4f3b (diff) | |
download | nextcloud-server-5fe25868bcfd48cafe0fd569de13a593f6b46738.tar.gz nextcloud-server-5fe25868bcfd48cafe0fd569de13a593f6b46738.zip |
Add message for converting to SQLite being unsupported.
Diffstat (limited to 'core')
-rw-r--r-- | core/command/db/converttype.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index cb6c7007380..cf867d93924 100644 --- a/core/command/db/converttype.php +++ b/core/command/db/converttype.php @@ -110,6 +110,13 @@ class ConvertType extends Command { protected function execute(InputInterface $input, OutputInterface $output) { $type = $input->getArgument('type'); + if ($this->connectionFactory->normalizeType($type) === 'sqlite3') { + $output->writeln(sprintf( + '<error>Converting to SQLite (sqlite3) is currently not supported.</error>', + $type + )); + return 1; + } if ($type === $this->config->getValue('dbtype', '')) { $output->writeln(sprintf( '<error>Can not convert from %1$s to %1$s.</error>', |