mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	Removed UNSIGNED from primary keys mapping
This commit is contained in:
		@ -29,9 +29,9 @@ class QueryBuilder extends \yii\db\QueryBuilder
 | 
			
		||||
     */
 | 
			
		||||
    public $typeMap = [
 | 
			
		||||
        Schema::TYPE_PK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_UPK => 'integer UNSIGNED PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_UPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_BIGPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_UBIGPK => 'integer UNSIGNED PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_UBIGPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL',
 | 
			
		||||
        Schema::TYPE_CHAR => 'char(1)',
 | 
			
		||||
        Schema::TYPE_STRING => 'varchar(255)',
 | 
			
		||||
        Schema::TYPE_TEXT => 'text',
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user