Add message about unsupported Microsoft SQL Server.

This commit is contained in:
Andreas Fischer 2014-05-09 12:31:29 +02:00
parent de78be3891
commit 603ce95211
1 changed files with 5 additions and 0 deletions

View File

@ -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.',