Skip to content
Browse files

Merge pull request #267 from deeky666/add-sql-server-platform-support…

…s-schemas

Add SQLServerPlatform supports schemas
  • Loading branch information...
2 parents 2a58ac0 + 949a9ff commit e3f1af51eaec0707d5d387fc8cae1a585f2b5634 @guilhermeblanco guilhermeblanco committed
View
8 lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
@@ -107,6 +107,14 @@ public function supportsReleaseSavepoints()
}
/**
+ * {@inheritdoc}
+ */
+ public function supportsSchemas()
+ {
+ return true;
+ }
+
+ /**
* {@inheritDoc}
*/
public function hasNativeGuidType()
View
5 tests/Doctrine/Tests/DBAL/Platforms/SQLServerPlatformTest.php
@@ -119,6 +119,11 @@ public function testSupportsIdentityColumns()
$this->assertTrue($this->_platform->supportsIdentityColumns());
}
+ public function testSupportsSchemas()
+ {
+ $this->assertTrue($this->_platform->supportsSchemas());
+ }
+
public function testDoesNotSupportSavePoints()
{
$this->assertTrue($this->_platform->supportsSavepoints());

0 comments on commit e3f1af5

Please sign in to comment.
Something went wrong with that request. Please try again.