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