Méthode | Description | |
---|---|---|
bigInteger ( integer $length = null ) : |
Creates a bigint column. | |
bigPrimaryKey ( integer $length = null ) : |
Creates a big primary key column. | |
binary ( integer $length = null ) : |
Creates a binary column. | |
boolean ( ) : |
Creates a boolean column. | |
char ( integer $length = null ) : |
Creates a char column. | |
date ( ) : |
Creates a date column. | |
dateTime ( integer $precision = null ) : |
Creates a datetime column. | |
decimal ( integer $precision = null, integer $scale = null ) : |
Creates a decimal column. | |
double ( integer $precision = null ) : |
Creates a double column. | |
float ( integer $precision = null ) : |
Creates a float column. | |
integer ( integer $length = null ) : |
Creates an integer column. | |
money ( integer $precision = null, integer $scale = null ) : |
Creates a money column. | |
primaryKey ( integer $length = null ) : |
Creates a primary key column. | |
smallInteger ( integer $length = null ) : |
Creates a smallint column. | |
string ( integer $length = null ) : |
Creates a string column. | |
text ( ) : |
Creates a text column. | |
time ( integer $precision = null ) : |
Creates a time column. | |
timestamp ( integer $precision = null ) : |
Creates a timestamp column. |
Méthode | Description | |
---|---|---|
getDb ( ) : |
public bigInteger ( integer $length = null ) : |
||
$length | integer | column size or precision definition. This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public bigPrimaryKey ( integer $length = null ) : |
||
$length | integer | column size or precision definition. This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public boolean ( ) : |
||
Résultat | the column instance which can be further customized. |
public date ( ) : |
||
Résultat | the column instance which can be further customized. |
public dateTime ( integer $precision = null ) : |
||
$precision | integer | column value precision. First parameter passed to the column type, e.g. DATETIME(precision). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public decimal ( integer $precision = null, integer $scale = null ) : |
||
$precision | integer | column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. |
$scale | integer | column value scale, which is usually the number of digits after the decimal point. Second parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public double ( integer $precision = null ) : |
||
$precision | integer | column value precision. First parameter passed to the column type, e.g. DOUBLE(precision). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public float ( integer $precision = null ) : |
||
$precision | integer | column value precision. First parameter passed to the column type, e.g. FLOAT(precision). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
abstract protected getDb ( ) : |
||
Résultat | the database connection to be used for schema building. |
public money ( integer $precision = null, integer $scale = null ) : |
||
$precision | integer | column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. |
$scale | integer | column value scale, which is usually the number of digits after the decimal point. Second parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public primaryKey ( integer $length = null ) : |
||
$length | integer | column size or precision definition. This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public smallInteger ( integer $length = null ) : |
||
$length | integer | column size or precision definition. This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public text ( ) : |
||
Résultat | the column instance which can be further customized. |
public time ( integer $precision = null ) : |
||
$precision | integer | column value precision. First parameter passed to the column type, e.g. TIME(precision). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |
public timestamp ( integer $precision = null ) : |
||
$precision | integer | column value precision. First parameter passed to the column type, e.g. TIMESTAMP(precision). This parameter will be ignored if not supported by the DBMS. |
Résultat | the column instance which can be further customized. |