init
This commit is contained in:
26
vendor/yiisoft/yii2/db/IndexConstraint.php
vendored
Normal file
26
vendor/yiisoft/yii2/db/IndexConstraint.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\db;
|
||||
|
||||
/**
|
||||
* IndexConstraint represents the metadata of a table `INDEX` constraint.
|
||||
*
|
||||
* @author Sergey Makinen <sergey@makinen.ru>
|
||||
* @since 2.0.13
|
||||
*/
|
||||
class IndexConstraint extends Constraint
|
||||
{
|
||||
/**
|
||||
* @var bool whether the index is unique.
|
||||
*/
|
||||
public $isUnique;
|
||||
/**
|
||||
* @var bool whether the index was created for a primary key.
|
||||
*/
|
||||
public $isPrimary;
|
||||
}
|
||||
Reference in New Issue
Block a user