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; ...@@ -23,6 +23,7 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Schema\Table; use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Schema\ForeignKeyConstraint; use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use Doctrine\DBAL\Schema\Sequence; use Doctrine\DBAL\Schema\Sequence;
use Doctrine\DBAL\Platforms\SQLServerPlatform;
class CreateSchemaSqlCollector extends AbstractVisitor class CreateSchemaSqlCollector extends AbstractVisitor
{ {
...@@ -108,7 +109,7 @@ class CreateSchemaSqlCollector extends AbstractVisitor ...@@ -108,7 +109,7 @@ class CreateSchemaSqlCollector extends AbstractVisitor
$namespace = $asset->getNamespaceName(); $namespace = $asset->getNamespaceName();
if ($namespace === null) { if ($namespace === null) {
if ($this->platform instanceof \Doctrine\DBAL\Platforms\SQLServerPlatform) { if ($this->platform instanceof SQLServerPlatform) {
$namespace = 'dbo'; $namespace = 'dbo';
} else { } else {
$namespace = 'default'; $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