Skip to content

Add `object_format` field to `project_repositories`

What does this MR do and why?

Contributes to #419887 (closed)

Problem

GitLab will allow to create project with SHA256 repositories. However, we don't have a way to distinguish between SHA1 (default) and SHA256 (new) repository types.

Solution

  • Add a new field to project_repositories table.
  • Set the new value to SHA1 by default

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports