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.
33 lines
731 B
33 lines
731 B
9 years ago
|
<?php
|
||
|
/**
|
||
|
* @link http://www.yiiframework.com/
|
||
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
* @license http://www.yiiframework.com/license/
|
||
|
*/
|
||
|
|
||
|
namespace yii\db\oci;
|
||
|
|
||
9 years ago
|
use yii\db\ColumnSchemaBuilder as AbstractColumnSchemaBuilder;
|
||
9 years ago
|
|
||
9 years ago
|
/**
|
||
9 years ago
|
* ColumnSchemaBuilder is the schema builder for Oracle databases.
|
||
9 years ago
|
*
|
||
|
* @author Vasenin Matvey <vaseninm@gmail.com>
|
||
9 years ago
|
* @since 2.0.6
|
||
9 years ago
|
*/
|
||
9 years ago
|
class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder
|
||
9 years ago
|
{
|
||
9 years ago
|
/**
|
||
|
* @inheritdoc
|
||
|
*/
|
||
9 years ago
|
public function __toString()
|
||
|
{
|
||
|
return
|
||
9 years ago
|
$this->type .
|
||
|
$this->buildLengthString() .
|
||
|
$this->buildDefaultString() .
|
||
|
$this->buildNotNullString() .
|
||
|
$this->buildCheckString();
|
||
9 years ago
|
}
|
||
9 years ago
|
}
|