Skip to content

storage: Add not null constraints to metadata_authority/origin_metadata tables

There were discrepancies between the latest 149.sql and the latest schema.sql.

As I was fighting the replication at the time already, I prefered aligning both. Out of 149, I understood we wanted to make not null constraints on the following tables, so here goes that diff.

This commits fixes that, migrating first the data not respecting those constraints.

Related to !829 (closed) Related to #2075 (closed)

Test Plan

tox


Migrated from D3170 (view on Phabricator)

Merge request reports