Add message about unsupported Microsoft SQL Server.
This commit is contained in:
parent
de78be3891
commit
603ce95211
|
@ -99,6 +99,11 @@ class ConvertType extends Command {
|
|||
'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', '')) {
|
||||
throw new \InvalidArgumentException(sprintf(
|
||||
'Can not convert from %1$s to %1$s.',
|
||||
|
|
Loading…
Reference in New Issue