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.
26 lines
553 B
26 lines
553 B
<?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; |
|
}
|
|
|