diff --git a/framework/db/dao/QueryBuilder.php b/framework/db/dao/QueryBuilder.php index f26118b..fbbc05e 100644 --- a/framework/db/dao/QueryBuilder.php +++ b/framework/db/dao/QueryBuilder.php @@ -21,7 +21,7 @@ class QueryBuilder extends \yii\base\Component /** * @var array the abstract column types mapped to physical column types. */ - public $columnTypes = array( + public $typeMap = array( 'pk' => 'int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY', 'string' => 'varchar(255)', 'text' => 'text', @@ -379,7 +379,7 @@ class QueryBuilder extends \yii\base\Component /** * Converts an abstract column type into a physical column type. - * The conversion is done using the type map specified in {@link columnTypes}. + * The conversion is done using the type map specified in {@link typeMap}. * These abstract column types are supported (using MySQL as example to explain the corresponding * physical types): *