diff --git a/tests/unit/data/cubrid.sql b/tests/unit/data/cubrid.sql index 4925d05..6b21712 100644 --- a/tests/unit/data/cubrid.sql +++ b/tests/unit/data/cubrid.sql @@ -100,7 +100,7 @@ CREATE TABLE null_values ( CREATE TABLE "type" ( "int_col" int(11) NOT NULL, "int_col2" int(11) DEFAULT '1', - "smallint_col" smallint(1) DEFAULT '1', + "smallint_col" smallint DEFAULT '1', "char_col" char(100) NOT NULL, "char_col2" varchar(100) DEFAULT 'something', "char_col3" string, diff --git a/tests/unit/framework/db/cubrid/CubridSchemaTest.php b/tests/unit/framework/db/cubrid/CubridSchemaTest.php index e6f7269..369097e 100644 --- a/tests/unit/framework/db/cubrid/CubridSchemaTest.php +++ b/tests/unit/framework/db/cubrid/CubridSchemaTest.php @@ -45,7 +45,7 @@ class CubridSchemaTest extends SchemaTest $columns['int_col2']['dbType'] = 'integer'; $columns['int_col2']['size'] = null; $columns['int_col2']['precision'] = null; - $columns['smallint_col']['dbType'] = 'integer'; + $columns['smallint_col']['dbType'] = 'short'; $columns['smallint_col']['size'] = null; $columns['smallint_col']['precision'] = null; $columns['char_col3']['type'] = 'string';