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

View file

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