mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289
This commit is contained in:
@ -28,8 +28,8 @@ 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_BIGPK => 'bigint PRIMARY KEY NOT NULL',
|
||||
Schema::TYPE_UBIGPK => 'bigint UNSIGNED PRIMARY KEY NOT NULL',
|
||||
Schema::TYPE_BIGPK => 'integer PRIMARY KEY AUTOINCREMENT NOT NULL',
|
||||
Schema::TYPE_UBIGPK => 'integer UNSIGNED 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