console\controllers\MigrateController addDefaultPrimaryKey()

addDefaultPrimaryKey() protected method (available since version 2.0.7)

Adds default primary key to fields list if there's no primary key specified

protected void addDefaultPrimaryKey ( &$fields )
$fields array

Parsed fields

doc_Yii
2016-10-30 16:55:18
Comments
Leave a Comment

Please login to continue.