Store normalised DBMS type in $type.
This commit is contained in:
parent
0a78fb49f5
commit
de78be3891
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ class ConvertType extends Command {
|
|||
}
|
||||
|
||||
protected function validateInput(InputInterface $input, OutputInterface $output) {
|
||||
$type = $input->getArgument('type');
|
||||
if ($this->connectionFactory->normalizeType($type) === 'sqlite3') {
|
||||
$type = $this->connectionFactory->normalizeType($input->getArgument('type'));
|
||||
if ($type === 'sqlite3') {
|
||||
throw new \InvalidArgumentException(
|
||||
'Converting to SQLite (sqlite3) is currently not supported.'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue