yii\db\SchemaBuilderTrait::bigPrimaryKey PHP Méthode

bigPrimaryKey() public méthode

Creates a big primary key column.
Since: 2.0.6
public bigPrimaryKey ( integer $length = null ) : ColumnSchemaBuilder
$length integer column size or precision definition. This parameter will be ignored if not supported by the DBMS.
Résultat ColumnSchemaBuilder the column instance which can be further customized.
    public function bigPrimaryKey($length = null)
    {
        return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_BIGPK, $length);
    }