GORM Playground Link

https://github.com/go-gorm/playground/pull/453

Description

AutoMigrate do every time causing by string, datetime default null value field. This symptom occurs on mariadb. sql.NullString returns NULL string from information_schema.columns. but, mysql DB returns "" empty string.

Comment From: newro

I've solved with default:NULL tag.

Comment From: muety

Please open again.