sqlite3: Rename sha fields for use with 'join..using'

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>