Skip to content

Commit ea932bb

Browse files
[10.x] update virtualAs description to include all supported databases (#9094)
* update virtualAs description to include all supported databases - add PostgreSQL and SQLite * Update migrations.md --------- Co-authored-by: Terrence Eisenhower <[email protected]> Co-authored-by: Taylor Otwell <[email protected]>
1 parent 4735488 commit ea932bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ Modifier | Description
973973
`->unsigned()` | Set INTEGER columns as UNSIGNED (MySQL).
974974
`->useCurrent()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP as default value.
975975
`->useCurrentOnUpdate()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP when a record is updated (MySQL).
976-
`->virtualAs($expression)` | Create a virtual generated column (MySQL).
976+
`->virtualAs($expression)` | Create a virtual generated column (MySQL / PostgreSQL / SQLite).
977977
`->generatedAs($expression)` | Create an identity column with specified sequence options (PostgreSQL).
978978
`->always()` | Defines the precedence of sequence values over input for an identity column (PostgreSQL).
979979
`->isGeometry()` | Set spatial column type to `geometry` - the default type is `geography` (PostgreSQL).

0 commit comments

Comments
 (0)