Skip to content

Commit

Permalink
Update migration.md (#782)
Browse files Browse the repository at this point in the history
Co-authored-by: vito_chao <[email protected]>
  • Loading branch information
xxxVitoxxx and vito_chao authored Aug 29, 2024
1 parent 2c372a9 commit eaf5012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaf5012

Please sign in to comment.