Skip to content

migrations: handle empty metadata for repo.private

Administrator requested to merge core/migration-null into master

Created by: keegancsmith

metadata column can be empty. If that is the case, we assume the repository is private to avoid leaking it. There are many repos without metadata on sourcegraph.com. Additionally there are likely cases where metadata is empty on customer instances (for example deleted repositories).

Previously if metadata was empty the migration failed. This lead to some downtime on sourcegraph.com

Merge request reports

Loading