RenameColumn
class RenameColumn
Methods
static array
compile(Grammar $grammar, Blueprint $blueprint, Fluent $command, Connection $connection)
Compile a rename column command.
static TableDiff
getRenamedDiff(Grammar $grammar, Blueprint $blueprint, Fluent $command, Column $column, AbstractSchemaManager $schema)
Get a new column instance with the new column name.
static TableDiff
setRenamedColumns(TableDiff $tableDiff, Fluent $command, Column $column)
Set the renamed columns on the table diff.
Details
at line 23
static array
compile(Grammar $grammar, Blueprint $blueprint, Fluent $command, Connection $connection)
Compile a rename column command.
at line 46
static protected TableDiff
getRenamedDiff(Grammar $grammar, Blueprint $blueprint, Fluent $command, Column $column, AbstractSchemaManager $schema)
Get a new column instance with the new column name.
at line 61
static protected TableDiff
setRenamedColumns(TableDiff $tableDiff, Fluent $command, Column $column)
Set the renamed columns on the table diff.