- changes to expect revisionid to come from the client on INSERT/UPDATE/DELETE; now the client should send accession# as: sitecode.uniqueid.revisionid INSERT checks if sitecode.uniqueid part does not exist in xml_documents and xml_revisions and revisionid=1 UPDATE/DELETE check if sitecode.uniqueid part is in xml_document and revisionid is the recent number - keep the old implementation where the client can send accession# without revisionid
- changes to expect revisionid to come from the client on INSERT/UPDATE/DELETE;
now the client should send accession# as:
sitecode.uniqueid.revisionid
INSERT checks if sitecode.uniqueid part does not exist in xml_documents and xml_revisions and revisionid=1
UPDATE/DELETE check if sitecode.uniqueid part is in xml_document and revisionid is the recent number
- keep the old implementation where the client can send accession# without revisionid