Add message for converting to SQLite being unsupported.
This commit is contained in:
parent
9823d54bb8
commit
5fe25868bc
1 changed files with 7 additions and 0 deletions
|
@ -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>',
|
||||
|
|
Loading…
Reference in a new issue