Fixes #14638: Added yii\db\SchemaBuilderTrait::tinyInteger()

This commit is contained in:
Robert Korulczyk
2018-02-12 10:01:21 +01:00
committed by Alexander Makarov
parent 74dc1cdc30
commit df91a9608f
24 changed files with 108 additions and 13 deletions

View File

@ -32,6 +32,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
Schema::TYPE_CHAR => 'char(1)',
Schema::TYPE_STRING => 'varchar(255)',
Schema::TYPE_TEXT => 'text',
Schema::TYPE_TINYINT => 'tinyint(3)',
Schema::TYPE_SMALLINT => 'smallint(6)',
Schema::TYPE_INTEGER => 'int(11)',
Schema::TYPE_BIGINT => 'bigint(20)',