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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.