models/db.go
@@ -116,7 +116,16 @@ ReorderRule{}, 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 {