$database->createTable()
Creates a new table
Parameters
Name | Type | Default |
---|---|---|
$table * | string |
– |
$columns | array |
[ ] |
Return type
bool
Parent class
Example
Since 4.2.0
Newly added options are the unsigned
option for integers and size
option for varchars as well as the float
and decimal
types.