Skip to content

AlterColumn

Properties

table

protected string|\Qubus\Expressive\Schema\AlterTable|null $table

Methods

__construct

public __construct(\Qubus\Expressive\Schema\AlterTable $table, string $name, ?string $type = null): mixed

Parameters:

Parameter Type Description
$table \Qubus\Expressive\Schema\AlterTable
$name string
$type ?string

getTable

public getTable(): string

defaultValue

public defaultValue(mixed $value): $this

Parameters:

Parameter Type Description
$value mixed

autoincrement

public autoincrement(): $this

Inherited methods

__construct

public __construct(string $name, ?string $type = null): mixed

Parameters:

Parameter Type Description
$name string
$type ?string

getName

public getName(): string

getType

public getType(): string

getProperties

public getProperties(): array

setType

public setType(string $type): $this

Parameters:

Parameter Type Description
$type string

set

public set(string $name, mixed $value): $this

Parameters:

Parameter Type Description
$name string
$value mixed

has

public has(string $name): bool

Parameters:

Parameter Type Description
$name string

get

public get(string $name, mixed|null $default = null): mixed|null

Parameters:

Parameter Type Description
$name string
$default mixed|null

size

public size(string $value): $this

Parameters:

Parameter Type Description
$value string

notNull

public notNull(): $this

description

public description(string $comment): $this

Parameters:

Parameter Type Description
$comment string

defaultValue

public defaultValue(mixed $value): $this

Parameters:

Parameter Type Description
$value mixed

unsigned

public unsigned(bool $value = true): $this

Parameters:

Parameter Type Description
$value bool

length

public length(mixed $value): $this

Parameters:

Parameter Type Description
$value mixed


Automatically generated on 2025-10-13