mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 10:39:59 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			555 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			555 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @link https://www.yiiframework.com/
 | |
|  * @copyright Copyright (c) 2008 Yii Software LLC
 | |
|  * @license https://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;
 | |
| }
 | 
