mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 20:59:12 +08:00
26 lines
569 B
PHP
26 lines
569 B
PHP
<?php
|
|
|
|
namespace yiiunit\framework\db\pgsql;
|
|
|
|
use yii\db\ColumnSchemaBuilder;
|
|
|
|
/**
|
|
* ColumnSchemaBuilderTest tests ColumnSchemaBuilder for Oracle
|
|
* @group db
|
|
* @group pgsql
|
|
*/
|
|
class ColumnSchemaBuilderTest extends \yiiunit\framework\db\ColumnSchemaBuilderTest
|
|
{
|
|
public $driverName = 'pgsql';
|
|
|
|
/**
|
|
* @param string $type
|
|
* @param integer $length
|
|
* @return ColumnSchemaBuilder
|
|
*/
|
|
public function getColumnSchemaBuilder($type, $length = null)
|
|
{
|
|
return new ColumnSchemaBuilder($type, $length, $this->getConnection());
|
|
}
|
|
}
|