go-gorm / gorm.io

GORM official site
https://gorm.io
252 stars 353 forks source link

Update migration.md #782

Closed xxxVitoxxx closed 1 month ago

xxxVitoxxx commented 1 month ago

What did this pull request do?

description of the adjustment to the changing of an existing column. Gorm does not allow changing an existing column from non-nullable to nullable to avoid encountering an error if the original column has no value. However, the existing description can be misleading.

related issue: https://github.com/go-gorm/gorm/issues/4237, https://github.com/go-gorm/gorm/issues/6372