models/db.go
@@ -117,6 +117,15 @@ Attachment{}, LogisticCompany{}, FileTemplateAttachment{}, MoveHistory{}, Lock{}, MonthStats{}, Attribute{}, AttributeValue{}, SystemConfig{}, WarehouseMonthStats{}, WarehouseStatsItems{}, MiniDict{}, ) return err } @@ -127,7 +136,6 @@ func InsertDefaultData() { models := []interface{}{ NewDepartmentSearch(), NewLocationSearch(), } for _, model := range models {