Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Feb 27, 2017 · 1 revision

Change

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.
Clone this wiki locally