partial fix/optimisation for refimgs, only recalc if file is newer than when we build the refimg encoding

This commit is contained in:
2021-01-23 21:21:29 +11:00
parent 6f2175c973
commit 469745ce3b
4 changed files with 14 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ create table PERSON ( ID integer, TAG varchar(48), FIRSTNAME varchar(48), SURNAM
constraint PK_PERSON_ID primary key(ID) );
create table REFIMG ( ID integer, FNAME varchar(256), ENCODINGS bytea,
CREATED_ON fLOAT,
constraint PK_REFIMG_ID primary key(ID) );
create table FILE_PERSON_LINK ( FILE_ID integer, PERSON_ID integer,