2022/10/20 14:49:57 d:/code/golang/jgx_hfp/api/app/repository/grainOilProductRepository.go:29 ERROR: null value in column "telephone" of relation "grain_oil_product" violates not-null constraint (SQLSTATE 23502) [21.799ms] [rows:0] UPDATE "grain_oil_product" SET "mer_id"=2,"name"='赣南橙果',"specification"='吨',"type"='水果',"tags"='123',"telephone"='',"contact"='15555552222',"email"='',"price_range"='7~12元/斤',"address"='',"time_to_market"='10月18',"detail_info"='',"images"='',"region_id"=-1 WHERE "id" = 4

this SQL execute success in postgresql command line ,but can't execute in gorm

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking