MysqlSchema

Extends\CMysqlSchema

package

Default

Methods

__construct

__construct( $conn)

Arguments

$conn

createTable

createTable( $table, $columns, $options = null)

Arguments

$table

$columns

$options

Adds support for replacing default arguments.

getColumnType(string $type): string

Arguments

$type

string

Response

string

Get composite primary key definition.

getCompositePrimaryKey(array $columns): string

Arguments

$columns

array

Response

string