updated deps; minor fixed; ent regen

This commit is contained in:
2022-08-12 23:00:34 +02:00
parent b7bbb97fd3
commit c7e193e88b
23 changed files with 414 additions and 807 deletions

View File

@@ -746,7 +746,7 @@ func (p *ProtoPackage) toDbPackage(create bool) {
p.DbPackage = dbPkg
}
func (p ProtoPackage) exists() (bool, error) {
func (p *ProtoPackage) exists() (bool, error) {
dbPkg, err := db.DbPackage.Query().Where(dbpackage.And(dbpackage.Pkgbase(p.Pkgbase), dbpackage.March(p.March))).Exist(context.Background())
if err != nil {
return false, err