[SSL证书]实现对ACME任务的增删改查

This commit is contained in:
刘祥超
2020-11-25 21:19:22 +08:00
parent 6e6083d6af
commit 4142fae762
22 changed files with 862 additions and 180 deletions

View File

@@ -1,6 +1,7 @@
package setup
import (
"github.com/TeaOSLab/EdgeAPI/internal/errors"
"github.com/iwind/TeaGo/dbs"
"github.com/iwind/TeaGo/types"
"regexp"
@@ -240,6 +241,12 @@ func (this *SQLDump) Apply(db *dbs.DB, newResult *SQLDumpResult) (ops []string,
// 减少表格
// 由于我们不删除任何表格,所以这里什么都不做
// 升级数据
err = UpgradeSQLData(db)
if err != nil {
return nil, errors.New("upgrade data failed: " + err.Error())
}
return
}