codeintel: Add columns to track last retention scans
Created by: efritz
This PR adds a timestamp column to uploads so we can track the last time we checked it against its expiry. This operation is non-trivial, so we are setting up a way to self-limit how many times we do the same work (for the same result) for the same record.