Function __global->_helper_alter_table_field
Definitions
sources/database_helper.php
- Change the type of a DB field in a table.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$this_ref | object | required parameter | N/A | N/A | Link to the real database object |
$table_name | ID_TEXT | required parameter | N/A | N/A | The table name |
$name | ID_TEXT | required parameter | N/A | N/A | The field name |
$type | ID_TEXT | required parameter | N/A | N/A | The new field type |
$new_name | ?ID_TEXT | Null | N/A | N/A | The new field name (null: leave name) |
Return
- Whether we failed to set an auto-increment
- Type: boolean
- Set: N/A
- Range: N/A