|
11 | 11 | * @method $this change() Change the column
|
12 | 12 | * @method $this charset(string $charset) Specify a character set for the column (MySQL)
|
13 | 13 | * @method $this collation(string $collation) Specify a collation for the column (MySQL/PostgreSQL/SQL Server)
|
14 |
| - * @method $this comment(string $comment) Add a comment to the column (MySQL) |
| 14 | + * @method $this comment(string $comment) Add a comment to the column (MySQL/PostgreSQL) |
15 | 15 | * @method $this default(mixed $value) Specify a "default" value for the column
|
16 | 16 | * @method $this first() Place the column "first" in the table (MySQL)
|
17 | 17 | * @method $this generatedAs(string|Expression $expression = null) Create a SQL compliant identity column (PostgreSQL)
|
|
20 | 20 | * @method $this persisted() Mark the computed generated column as persistent (SQL Server)
|
21 | 21 | * @method $this primary() Add a primary index
|
22 | 22 | * @method $this spatialIndex() Add a spatial index
|
23 |
| - * @method $this storedAs(string $expression) Create a stored generated column (MySQL/SQLite) |
| 23 | + * @method $this startingValue(int $startingValue) Set the starting value of an auto-incrementing field (MySQL/PostgreSQL) |
| 24 | + * @method $this storedAs(string $expression) Create a stored generated column (MySQL/PostgreSQL/SQLite) |
24 | 25 | * @method $this type(string $type) Specify a type for the column
|
25 | 26 | * @method $this unique(string $indexName = null) Add a unique index
|
26 | 27 | * @method $this unsigned() Set the INTEGER column as UNSIGNED (MySQL)
|
27 | 28 | * @method $this useCurrent() Set the TIMESTAMP column to use CURRENT_TIMESTAMP as default value
|
28 | 29 | * @method $this useCurrentOnUpdate() Set the TIMESTAMP column to use CURRENT_TIMESTAMP when updating (MySQL)
|
29 |
| - * @method $this virtualAs(string $expression) Create a virtual generated column (MySQL/SQLite) |
| 30 | + * @method $this virtualAs(string $expression) Create a virtual generated column (MySQL/PostgreSQL/SQLite) |
30 | 31 | */
|
31 | 32 | class ColumnDefinition extends Fluent
|
32 | 33 | {
|
|
0 commit comments