added pkgbuild path to db

This commit is contained in:
2022-08-14 17:20:34 +02:00
parent 05f36bef88
commit 5ea43c896f
9 changed files with 302 additions and 2 deletions

View File

@@ -55,6 +55,8 @@ const (
FieldSrcinfo = "srcinfo"
// FieldSrcinfoHash holds the string denoting the srcinfo_hash field in the database.
FieldSrcinfoHash = "srcinfo_hash"
// FieldPkgbuild holds the string denoting the pkgbuild field in the database.
FieldPkgbuild = "pkgbuild"
// Table holds the table name of the dbpackage in the database.
Table = "db_packages"
)
@@ -84,6 +86,7 @@ var Columns = []string{
FieldIoOut,
FieldSrcinfo,
FieldSrcinfoHash,
FieldPkgbuild,
}
// ValidColumn reports if the column name is valid (part of the table columns).