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