Add message about unsupported Microsoft SQL Server.
This commit is contained in:
parent
de78be3891
commit
603ce95211
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ class ConvertType extends Command {
|
||||||
'Converting to SQLite (sqlite3) is currently not supported.'
|
'Converting to SQLite (sqlite3) is currently not supported.'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if ($type === 'mssql') {
|
||||||
|
throw new \InvalidArgumentException(
|
||||||
|
'Converting to Microsoft SQL Server (mssql) is currently not supported.'
|
||||||
|
);
|
||||||
|
}
|
||||||
if ($type === $this->config->getValue('dbtype', '')) {
|
if ($type === $this->config->getValue('dbtype', '')) {
|
||||||
throw new \InvalidArgumentException(sprintf(
|
throw new \InvalidArgumentException(sprintf(
|
||||||
'Can not convert from %1$s to %1$s.',
|
'Can not convert from %1$s to %1$s.',
|
||||||
|
|
Loading…
Reference in a new issue