MssqlSchema

Extends\CMssqlSchema

package

Default

Methods

__construct

__construct( $conn)

Arguments

$conn

createCommandBuilder

createCommandBuilder()
inheritdoc

replace by own to fix new MSSQL issue

see https://github.com/yiisoft/yii2/blob/364e907875fd57ee218085cca796ac5d1c3c8d51/framework/db/mssql/QueryBuilder.php#L73

createTable

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

Arguments

$table

$columns

$options

getColumnType

getColumnType( $type)

Arguments

$type

Get composite primary key definition.

getCompositePrimaryKey(array $columns): string

Arguments

$columns

array

Response

string