|
6 | 6 | use Illuminate\Support\Fluent;
|
7 | 7 |
|
8 | 8 | /**
|
9 |
| - * @method static after(string $column) Place the column "after" another column (MySQL) |
10 |
| - * @method static always() Used as a modifier for generatedAs() (PostgreSQL) |
11 |
| - * @method static autoIncrement() Set INTEGER columns as auto-increment (primary key) |
12 |
| - * @method static change() Change the column |
13 |
| - * @method static charset(string $charset) Specify a character set for the column (MySQL) |
14 |
| - * @method static collation(string $collation) Specify a collation for the column (MySQL/PostgreSQL/SQL Server) |
15 |
| - * @method static comment(string $comment) Add a comment to the column (MySQL) |
16 |
| - * @method static default(mixed $value) Specify a "default" value for the column |
17 |
| - * @method static first() Place the column "first" in the table (MySQL) |
18 |
| - * @method static generatedAs(string|Expression $expression = null) Create a SQL compliant identity column (PostgreSQL) |
19 |
| - * @method static index(string $indexName = null) Add an index |
20 |
| - * @method static nullable(bool $value = true) Allow NULL values to be inserted into the column |
21 |
| - * @method static persisted() Mark the computed generated column as persistent (SQL Server) |
22 |
| - * @method static primary() Add a primary index |
23 |
| - * @method static spatialIndex() Add a spatial index |
24 |
| - * @method static storedAs(string $expression) Create a stored generated column (MySQL) |
25 |
| - * @method static unique(string $indexName = null) Add a unique index |
26 |
| - * @method static unsigned() Set the INTEGER column as UNSIGNED (MySQL) |
27 |
| - * @method static useCurrent() Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value |
28 |
| - * @method static virtualAs(string $expression) Create a virtual generated column (MySQL) |
| 9 | + * @method $this after(string $column) Place the column "after" another column (MySQL) |
| 10 | + * @method $this always() Used as a modifier for generatedAs() (PostgreSQL) |
| 11 | + * @method $this autoIncrement() Set INTEGER columns as auto-increment (primary key) |
| 12 | + * @method $this change() Change the column |
| 13 | + * @method $this charset(string $charset) Specify a character set for the column (MySQL) |
| 14 | + * @method $this collation(string $collation) Specify a collation for the column (MySQL/PostgreSQL/SQL Server) |
| 15 | + * @method $this comment(string $comment) Add a comment to the column (MySQL) |
| 16 | + * @method $this default(mixed $value) Specify a "default" value for the column |
| 17 | + * @method $this first() Place the column "first" in the table (MySQL) |
| 18 | + * @method $this generatedAs(string|Expression $expression = null) Create a SQL compliant identity column (PostgreSQL) |
| 19 | + * @method $this index(string $indexName = null) Add an index |
| 20 | + * @method $this nullable(bool $value = true) Allow NULL values to be inserted into the column |
| 21 | + * @method $this persisted() Mark the computed generated column as persistent (SQL Server) |
| 22 | + * @method $this primary() Add a primary index |
| 23 | + * @method $this spatialIndex() Add a spatial index |
| 24 | + * @method $this storedAs(string $expression) Create a stored generated column (MySQL) |
| 25 | + * @method $this unique(string $indexName = null) Add a unique index |
| 26 | + * @method $this unsigned() Set the INTEGER column as UNSIGNED (MySQL) |
| 27 | + * @method $this useCurrent() Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value |
| 28 | + * @method $this virtualAs(string $expression) Create a virtual generated column (MySQL) |
29 | 29 | */
|
30 | 30 | class ColumnDefinition extends Fluent
|
31 | 31 | {
|
|
0 commit comments