Skip to content

Commit b4ddc72

Browse files
staudenmeirtaylorotwell
authored andcommitted
Improve ColumnDefinition (#26338)
1 parent b18c253 commit b4ddc72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Database/Schema/ColumnDefinition.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @method ColumnDefinition collation(string $collation) Specify a collation for the column (MySQL/SQL Server)
1313
* @method ColumnDefinition comment(string $comment) Add a comment to the column (MySQL)
1414
* @method ColumnDefinition default(mixed $value) Specify a "default" value for the column
15-
* @method ColumnDefinition first(string $column) Place the column "first" in the table (MySQL)
15+
* @method ColumnDefinition first() Place the column "first" in the table (MySQL)
1616
* @method ColumnDefinition nullable($value = true) Allow NULL values to be inserted into the column
1717
* @method ColumnDefinition storedAs($expression) Create a stored generated column (MySQL)
1818
* @method ColumnDefinition unique() Add a unique index
@@ -22,6 +22,7 @@
2222
* @method ColumnDefinition generatedAs($expression) Create a SQL compliant identity column (PostgreSQL)
2323
* @method ColumnDefinition always() Used as a modifier for generatedAs() (PostgreSQL)
2424
* @method ColumnDefinition index() Add an index
25+
* @method ColumnDefinition change() Change the column
2526
*/
2627
class ColumnDefinition extends Fluent
2728
{

0 commit comments

Comments
 (0)