yinbentan
2024-07-06 79aef24a785581d95343ccd99e9cb362b2bc9c97
models/db.go
@@ -120,6 +120,11 @@
      MoveHistory{},
      Lock{},
      MonthStats{},
      Attribute{},
      AttributeValue{},
      SystemConfig{},
      WarehouseMonthStats{},
      WarehouseStatsItems{},
   )
   return err
}
@@ -130,7 +135,6 @@
func InsertDefaultData() {
   models := []interface{}{
      NewDepartmentSearch(),
      NewLocationSearch(),
   }
   for _, model := range models {