Change - ratajs/Simon-MySQL GitHub Wiki
This method changes a column in table.
Synatexe:
$object->change(string $table, string $name, string $newName, string $type, int $lenth, bool $null[, string $data = NULL])
- Object
- - Object of extension.
- Table
- - Table name.
- Name
- - Name of column.
- NewName
- - Column name.
- Type
- - Type of column, E. G. varchar for text or int alternatively bigint for number.
- Null
- - Boolean value if value of column can be empty.
- Data
- - Addition parameners in SQL language about this column.