Skip to content

Commit eaf5012

Browse files
xxxVitoxxxvito_chao
and
vito_chao
authored
Update migration.md (#782)
Co-authored-by: vito_chao <[email protected]>
1 parent 2c372a9 commit eaf5012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: page
88
Automatically migrate your schema, to keep your schema up to date.
99

1010
{% note warn %}
11-
**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.
11+
**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.
1212
{% endnote %}
1313

1414
```go

0 commit comments

Comments
 (0)