You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace yiiunit\framework\db\mssql;
|
|
|
|
|
|
|
|
use yii\db\ColumnSchemaBuilder;
|
|
|
|
use yii\db\Schema;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ColumnSchemaBuilderTest tests ColumnSchemaBuilder for MSSQL
|
|
|
|
* @group db
|
|
|
|
* @group mssql
|
|
|
|
*/
|
|
|
|
class ColumnSchemaBuilderTest extends \yiiunit\framework\db\ColumnSchemaBuilderTest
|
|
|
|
{
|
|
|
|
public $driverName = 'sqlsrv';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $type
|
|
|
|
* @param int $length
|
|
|
|
* @return ColumnSchemaBuilder
|
|
|
|
*/
|
|
|
|
public function getColumnSchemaBuilder($type, $length = null)
|
|
|
|
{
|
|
|
|
return new ColumnSchemaBuilder($type, $length, $this->getConnection());
|
|
|
|
}
|
|
|
|
}
|