Skip to content

[HASHES] Row Level Hashing #5802

Description

@jperson1

Add a column to internal and external tables (singleauditchecklist, singleauditreportfile, dissemination_*) to contain a hash of the rows data. For now, it will remain internal until a future ticket has us presenting hashes to users.

This work is largely completed by #5246. We should bring it up to date and verify its functions. New tables (dissemination_resubmission) will need to be added. We should perhaps explore using generated fields, or otherwise automatically determine which fields get hashed. That could save us some headaches in the future.

Acceptance Criteria

  1. Internal and external tables have "hash" columns
  2. Hashes are updated when the row data changes
    a. For in progress submissions, this is all the time
    b. For cases of redissemination, this is only when the record is actually effected. Which is almost never. A resubmission may have invoked the change, and it should then only change the hash for the applicable dissemination_resubmission row(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Sprint #13 (8/13 - 8/27)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions