Commit a6f3693d authored by flip111's avatar flip111

Using use statement for Doctrine\DBAL\Platforms\SQLServerPlatform

parent a8214c12
......@@ -23,6 +23,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use Doctrine\DBAL\Schema\Sequence;
use Doctrine\DBAL\Platforms\SQLServerPlatform;
class CreateSchemaSqlCollector extends AbstractVisitor
{
......@@ -108,7 +109,7 @@ class CreateSchemaSqlCollector extends AbstractVisitor
$namespace = $asset->getNamespaceName();
if ($namespace === null) {
if ($this->platform instanceof \Doctrine\DBAL\Platforms\SQLServerPlatform) {
if ($this->platform instanceof SQLServerPlatform) {
$namespace = 'dbo';
} else {
$namespace = 'default';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment