Blueprint::smallIncrements()

Fluent smallIncrements(string $column) Create a new auto-incrementing small integer (2-byte) column on the table. Parameters string $column Return Value Fluent

Blueprint::smallInteger()

Fluent smallInteger(string $column, bool $autoIncrement = false, bool $unsigned = false) Create a new small integer (2-byte) column on the table. Parameters string $column bool $autoIncrement bool $unsigned Return Value Fluent

Blueprint::rename()

Fluent rename(string $to) Rename the table to a given name. Parameters string $to Return Value Fluent

Blueprint::renameColumn()

Fluent renameColumn(string $from, string $to) Indicate that the given columns should be renamed. Parameters string $from string $to Return Value Fluent

Blueprint::removeColumn()

$this removeColumn(string $name) Remove a column from the schema blueprint. Parameters string $name Return Value $this

Blueprint::rememberToken()

Fluent rememberToken() Adds the remember_token column to the table. Return Value Fluent

Blueprint::primary()

Fluent primary(string|array $columns, string $name = null, string|null $algorithm = null) Specify the primary key(s) for the table. Parameters string|array $columns string $name string|null $algorithm Return Value Fluent

Blueprint::mediumText()

Fluent mediumText(string $column) Create a new medium text column on the table. Parameters string $column Return Value Fluent

Blueprint::morphs()

void morphs(string $name, string|null $indexName = null) Add the proper columns for a polymorphic table. Parameters string $name string|null $indexName Return Value void

Blueprint::nullableTimestamps()

void nullableTimestamps() Add nullable creation and update timestamps to the table. Alias for self::timestamps(). Return Value void