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

@ -126,6 +126,7 @@ CREATE TABLE "null_values" (
CREATE TABLE "type" (
int_col integer NOT NULL,
int_col2 integer DEFAULT '1',
tinyint_col smallint DEFAULT '1',
smallint_col smallint DEFAULT '1',
char_col char(100) NOT NULL,
char_col2 varchar(100) DEFAULT 'something',
@ -155,6 +156,7 @@ CREATE TABLE "bool_values" (
);
CREATE TABLE "negative_default_values" (
tinyint_col smallint default '-123',
smallint_col smallint default '-123',
int_col integer default '-123',
bigint_col bigint default '-123',