models/db.go
@@ -81,12 +81,11 @@ Operation{}, OperationDetails{}, Scrap{}, MoveHistory{}, //Product{}, ProductCategory{}, Material{}, LocationProduct{}, LocationProductAmount{}, ReorderRule{}, ) return err } @@ -98,6 +97,7 @@ func InsertDefaultData() { models := []interface{}{ NewDepartmentSearch(), NewLocationSearch(), } for _, model := range models { if id, ok := model.(InitDefaultData); ok {