\Nano4\DB\SimpleAlter

Enable some PHP commands to use ALTER TABLE commands.

Summary

Methods
Properties
Constants
change_column()
add_column()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

change_column()

change_column(  $table,   $oldname,   $newname,   $def) 

Modify an existing column.

Parameters

$table
$oldname
$newname
$def

add_column()

add_column(  $table,   $name,   $def) 

Add a new column.

Parameters

$table
$name
$def