public __construct ( string $name, string $default, string $sqlType = null, boolean $null = true, integer $length = null, integer $precision = null, integer $scale = null ) |
$name |
string |
Column name, such as "supplier_id" in
"supplier_id int(11)". |
$default |
string |
Type-casted default value, such as "new"
in "sales_stage varchar(20) default 'new'". |
$sqlType |
string |
Column type. |
$null |
boolean |
Whether this column allows NULL values. |
$length |
integer |
Column width. |
$precision |
integer |
Precision for NUMBER and FLOAT columns. |
$scale |
integer |
Number of digits to the right of the decimal
point in a number. |