yii\db\SchemaBuilderTrait::bigInteger PHP Method

bigInteger() public method

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