Skip to content

Commit

Permalink
update virtualAs description to include all supported databases (#9095)
Browse files Browse the repository at this point in the history
- add PostgreSQL and SQLite

Co-authored-by: Terrence Eisenhower <terrence@mile6.com>
  • Loading branch information
teisenhower and Terrence Eisenhower authored Oct 24, 2023
1 parent 456054f commit b19d2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ Modifier | Description
`->unsigned()` | Set INTEGER columns as UNSIGNED (MySQL).
`->useCurrent()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP as default value.
`->useCurrentOnUpdate()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP when a record is updated.
`->virtualAs($expression)` | Create a virtual generated column (MySQL).
`->virtualAs($expression)` | Create a virtual generated column (MySQL / PostgreSQL / SQLite).
`->generatedAs($expression)` | Create an identity column with specified sequence options (PostgreSQL).
`->always()` | Defines the precedence of sequence values over input for an identity column (PostgreSQL).
`->isGeometry()` | Set spatial column type to `geometry` - the default type is `geography` (PostgreSQL).
Expand Down

0 comments on commit b19d2fa

Please sign in to comment.