summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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>',