From 5fe25868bcfd48cafe0fd569de13a593f6b46738 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 15 Apr 2014 17:14:26 +0200 Subject: Add message for converting to SQLite being unsupported. --- core/command/db/converttype.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/command') 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( + 'Converting to SQLite (sqlite3) is currently not supported.', + $type + )); + return 1; + } if ($type === $this->config->getValue('dbtype', '')) { $output->writeln(sprintf( 'Can not convert from %1$s to %1$s.', -- cgit v1.2.3