Added new (clean) yii boilerplate
This commit is contained in:
30
framework/db/schema/pgsql/CPgsqlCommandBuilder.php
Normal file
30
framework/db/schema/pgsql/CPgsqlCommandBuilder.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* CPgsqlCommandBuilder class file.
|
||||
*
|
||||
* @author Timur Ruziev <resurtm@gmail.com>
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright 2008-2013 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
/**
|
||||
* CPgsqlCommandBuilder provides basic methods to create query commands for tables.
|
||||
*
|
||||
* @author Timur Ruziev <resurtm@gmail.com>
|
||||
* @package system.db.schema.pgsql
|
||||
* @since 1.1.14
|
||||
*/
|
||||
class CPgsqlCommandBuilder extends CDbCommandBuilder
|
||||
{
|
||||
/**
|
||||
* Returns default value of the integer/serial primary key. Default value means that the next
|
||||
* autoincrement/sequence value would be used.
|
||||
* @return string default value of the integer/serial primary key.
|
||||
* @since 1.1.14
|
||||
*/
|
||||
protected function getIntegerPrimaryKeyDefaultValue()
|
||||
{
|
||||
return 'DEFAULT';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user