__construct()
addColumn()
addIndex()
addPrimaryKey()
compile()
dropColumn()
dropIndex()
dropPrimaryKey()
getConditions()
getTable()
setTable()
$conditions
$table
A class to allow table altering.
package | Peyote |
---|---|
author | Dave Widmer |
__construct(string $table)
string
The table name
addIndex(string $column, string $type) : \Peyote\Alter
string
The column name to add as a key
string
The type of key to add
\Peyote\Alter
$thisgetConditions() : array
array
A list of alter conditionsgetTable() : string
string
$conditions : array
$table : string