Property |
Type |
Description |
|
$allowNull |
|
whether this column can be null. |
|
$autoIncrement |
|
whether this column is auto-incremental |
|
$comment |
|
comment of this column. Not all DBMS support this. |
|
$dbType |
|
the DB type of this column. Possible DB types vary according to the type of DBMS. |
|
$defaultValue |
|
default value of this column |
|
$enumValues |
|
enumerable values. This is set only if the column is declared to be an enumerable type. |
|
$isPrimaryKey |
|
whether this column is a primary key |
|
$name |
|
name of this column (without quotes). |
|
$phpType |
|
the PHP type of this column. Possible PHP types include:
string, boolean, integer, double. |
|
$precision |
|
precision of the column data, if it is numeric. |
|
$scale |
|
scale of the column data, if it is numeric. |
|
$size |
|
display size of the column. |
|
$type |
|
abstract type of this column. Possible abstract types include:
char, string, text, boolean, smallint, integer, bigint, float, decimal, datetime,
timestamp, time, date, binary, and money. |
|
$unsigned |
|
whether this column is unsigned. This is only meaningful
when [[type]] is smallint, integer or bigint. |
|