From eaf50123c4bc94d7821c7a2858f68b3604b859b0 Mon Sep 17 00:00:00 2001 From: vito Date: Thu, 29 Aug 2024 17:50:12 +0800 Subject: [PATCH] Update migration.md (#782) Co-authored-by: vito_chao --- pages/docs/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/migration.md b/pages/docs/migration.md index 0784d8d3f0c..3b492957b75 100644 --- a/pages/docs/migration.md +++ b/pages/docs/migration.md @@ -8,7 +8,7 @@ layout: page Automatically migrate your schema, to keep your schema up to date. {% note warn %} -**NOTE:** AutoMigrate will create tables, missing foreign keys, constraints, columns and indexes. It will change existing column's type if its size, precision, nullable changed. It **WON'T** delete unused columns to protect your data. +**NOTE:** AutoMigrate will create tables, missing foreign keys, constraints, columns and indexes. It will change existing column's type if its size, precision changed, or if it's changing from non-nullable to nullable. It **WON'T** delete unused columns to protect your data. {% endnote %} ```go