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
Fluent smallIncrements(string $column) Create a new auto-incrementing small integer (2-byte) column on the table. Parameters string $column Return Value Fluent
Fluent renameColumn(string $from, string $to) Indicate that the given columns should be renamed. Parameters string $from string $to Return Value Fluent
Fluent rename(string $to) Rename the table to a given name. Parameters string $to Return Value Fluent
$this removeColumn(string $name) Remove a column from the schema blueprint. Parameters string $name Return Value $this
Fluent rememberToken() Adds the remember_token column to the table. Return Value Fluent
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
void nullableTimestamps() Add nullable creation and update timestamps to the table. Alias for self::timestamps(). Return Value void
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
Fluent mediumText(string $column) Create a new medium text column on the table. Parameters string $column Return Value Fluent
Page 918 of 996