Skip to content

Commit b19d2fa

Browse files
authored
update virtualAs description to include all supported databases (#9095)
- add PostgreSQL and SQLite Co-authored-by: Terrence Eisenhower <terrence@mile6.com>
1 parent 456054f commit b19d2fa

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
@@ -965,7 +965,7 @@ Modifier | Description
965965
`->unsigned()` | Set INTEGER columns as UNSIGNED (MySQL).
966966
`->useCurrent()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP as default value.
967967
`->useCurrentOnUpdate()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP when a record is updated.
968-
`->virtualAs($expression)` | Create a virtual generated column (MySQL).
968+
`->virtualAs($expression)` | Create a virtual generated column (MySQL / PostgreSQL / SQLite).
969969
`->generatedAs($expression)` | Create an identity column with specified sequence options (PostgreSQL).
970970
`->always()` | Defines the precedence of sequence values over input for an identity column (PostgreSQL).
971971
`->isGeometry()` | Set spatial column type to `geometry` - the default type is `geography` (PostgreSQL).

0 commit comments

Comments
 (0)