initialize/gorm.go
@@ -2,6 +2,7 @@ import ( "os" "srm/model/purchase" "srm/global" "srm/model/example" @@ -52,6 +53,7 @@ example.ExaCustomer{}, example.ExaFileChunk{}, example.ExaFileUploadAndDownload{}, test.Industry{}, test.SupplierType{}, test.Supplier{}, test.Contract{}, purchase.Purchase{}, purchase.PurchaseProducts{}, ) if err != nil { global.GVA_LOG.Error("register table failed", zap.Error(err))