File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Illuminate/Database/Schema Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33namespace Illuminate \Database \Schema ;
44
55use Illuminate \Support \Fluent ;
6+ use Illuminate \Database \Query \Expression ;
67
78/**
89 * @method ColumnDefinition after(string $column) Place the column "after" another column (MySQL)
1415 * @method ColumnDefinition comment(string $comment) Add a comment to the column (MySQL)
1516 * @method ColumnDefinition default(mixed $value) Specify a "default" value for the column
1617 * @method ColumnDefinition first() Place the column "first" in the table (MySQL)
17- * @method ColumnDefinition generatedAs(string $expression) Create a SQL compliant identity column (PostgreSQL)
18+ * @method ColumnDefinition generatedAs(string|Expression $expression = null ) Create a SQL compliant identity column (PostgreSQL)
1819 * @method ColumnDefinition index(string $indexName = null) Add an index
1920 * @method ColumnDefinition nullable(bool $value = true) Allow NULL values to be inserted into the column
2021 * @method ColumnDefinition primary() Add a primary index
You can’t perform that action at this time.
0 commit comments