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