Making private the sqlstore upgrade functions because nobody needs to call them from the outside (#13023)

Этот коммит содержится в:
Jesús Espino
2019-11-11 13:11:50 +01:00
коммит произвёл George Goldberg
родитель 53ee077cfd
Коммит 9557bcf329
3 изменённых файлов: 98 добавлений и 98 удалений

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

@@ -162,7 +162,7 @@ func NewSqlSupplier(settings model.SqlSettings, metrics einterfaces.MetricsInter
os.Exit(EXIT_CREATE_TABLE)
}
err = UpgradeDatabase(supplier, model.CurrentVersion)
err = upgradeDatabase(supplier, model.CurrentVersion)
if err != nil {
mlog.Critical("Failed to upgrade database.", mlog.Err(err))
time.Sleep(time.Second)