1
0
forked from ALHP/ALHP.GO

added separate hash for srcinfo cache

This commit is contained in:
2022-08-14 15:02:24 +02:00
parent 041e7762f7
commit f30442d100
11 changed files with 380 additions and 83 deletions

View File

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