From 1f3d6692eb63c3c04cd0c56a1bbf8ccade4a1594 Mon Sep 17 00:00:00 2001 From: Peter Matseykanets Date: Fri, 12 Oct 2018 01:39:36 -0400 Subject: [PATCH] Document column modifiers for identity columns Relates to https://github.com/laravel/framework/pull/26096 --- migrations.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrations.md b/migrations.md index ad27dc82cb..5505bf141c 100644 --- a/migrations.md +++ b/migrations.md @@ -295,6 +295,8 @@ Modifier | Description `->unsigned()` | Set INTEGER columns as UNSIGNED (MySQL) `->useCurrent()` | Set TIMESTAMP columns to use CURRENT_TIMESTAMP as default value `->virtualAs($expression)` | Create a virtual generated column (MySQL) +`->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) ### Modifying Columns