Skip to content

Commit 18c555a

Browse files
Add column modifiers docs for PostgreSQL spatial column type (#7438)
* Add column modifiers docs for PostgreSQL spatial column type * Update migrations.md Co-authored-by: Taylor Otwell <[email protected]>
1 parent eb2f7fa commit 18c555a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

migrations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ Modifier | Description
875875
`->virtualAs($expression)` | Create a virtual generated column (MySQL).
876876
`->generatedAs($expression)` | Create an identity column with specified sequence options (PostgreSQL).
877877
`->always()` | Defines the precedence of sequence values over input for an identity column (PostgreSQL).
878+
`->isGeometry()` | Set spatial column type to `geometry` - the default type is `geography` (PostgreSQL).
878879

879880
<a name="default-expressions"></a>
880881
#### Default Expressions

0 commit comments

Comments
 (0)