string getTable() Get the table the blueprint describes. Return Value string
array getCommands() Get the commands on the blueprint. Return Value array
array getColumns() Get the columns on the blueprint. Return Value array
array getChangedColumns() Get the columns on the blueprint that should be changed. Return Value array
array getAddedColumns() Get the columns on the blueprint that should be added. Return Value array
Fluent foreign(string|array $columns, string $name = null) Specify a foreign key for the table. Parameters string|array $columns string $name Return Value Fluent
Fluent float(string $column, int $total = 8, int $places = 2) Create a new float column on the table. Parameters string $column int $total int $places Return Value Fluent
Fluent enum(string $column, array $allowed) Create a new enum column on the table. Parameters string $column array $allowed Return Value Fluent
Fluent dropUnique(string|array $index) Indicate that the given unique key should be dropped. Parameters string|array $index Return Value Fluent
void dropTimestampsTz() Indicate that the timestamp columns should be dropped. Return Value void
Page 920 of 996