mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			714 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			714 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * @link https://www.yiiframework.com/
 | 
						|
 * @copyright Copyright (c) 2008 Yii Software LLC
 | 
						|
 * @license https://www.yiiframework.com/license/
 | 
						|
 */
 | 
						|
 | 
						|
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 int $length
 | 
						|
     * @return ColumnSchemaBuilder
 | 
						|
     */
 | 
						|
    public function getColumnSchemaBuilder($type, $length = null)
 | 
						|
    {
 | 
						|
        return new ColumnSchemaBuilder($type, $length, $this->getConnection());
 | 
						|
    }
 | 
						|
}
 |