summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-04-15 17:14:26 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-04-15 17:14:26 +0200
commit5fe25868bcfd48cafe0fd569de13a593f6b46738 (patch)
tree12a182b955226ef3959430cd6c567035c2644235 /core
parent9823d54bb8b88adeae9d976c57dc3f366a3d4f3b (diff)
downloadnextcloud-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.php7
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>',