[Commit] Add unique constraint to `sha` field. Closes #24.