PgsqlSchema

Extends \CPgsqlSchema

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(string $table, array $columns) : string

CONSTRAINT prefix_assessments_pkey PRIMARY KEY (id,language)

Arguments

$table

string

$columns

array

Response

string