Commit 1425f8f0 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2631 from deeky666/fix-sqlserver-create-drop-database-support

Fix CREATE/DROP DATABASE support on SQL Server
parents a3701527 2f45103b
...@@ -173,7 +173,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -173,7 +173,7 @@ class SQLServerPlatform extends AbstractPlatform
*/ */
public function supportsCreateDropDatabase() public function supportsCreateDropDatabase()
{ {
return false; return true;
} }
/** /**
......
...@@ -143,6 +143,11 @@ abstract class AbstractSQLServerPlatformTestCase extends AbstractPlatformTestCas ...@@ -143,6 +143,11 @@ abstract class AbstractSQLServerPlatformTestCase extends AbstractPlatformTestCas
$this->assertTrue($this->_platform->supportsIdentityColumns()); $this->assertTrue($this->_platform->supportsIdentityColumns());
} }
public function testSupportsCreateDropDatabase()
{
$this->assertTrue($this->_platform->supportsCreateDropDatabase());
}
public function testSupportsSchemas() public function testSupportsSchemas()
{ {
$this->assertTrue($this->_platform->supportsSchemas()); $this->assertTrue($this->_platform->supportsSchemas());
......
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