Now that gorp is gone, this is no longer
required.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2022-02-15 11:44:04 +05:30
коммит произвёл GitHub
родитель 90245d4679
Коммит 56e889a3fc
39 изменённых файлов: 154 добавлений и 681 удалений

Просмотреть файл

@@ -23,15 +23,7 @@ type SqlSystemStore struct {
}
func newSqlSystemStore(sqlStore *SqlStore) store.SystemStore {
s := &SqlSystemStore{sqlStore}
for _, db := range sqlStore.GetAllConns() {
table := db.AddTableWithName(model.System{}, "Systems").SetKeys(false, "Name")
table.ColMap("Name").SetMaxSize(64)
table.ColMap("Value").SetMaxSize(1024)
}
return s
return &SqlSystemStore{sqlStore}
}
func (s SqlSystemStore) Save(system *model.System) error {