HomeSoftware Heritage

storage.postgresql: Use origin_visit_status.type value as source

Description

storage.postgresql: Use origin_visit_status.type value as source

This stops using the origin_visit.type as fallback values as now, the database has been
migrated.

So this makes the origin_visit_status.type a not nullable column.

This also drops now redundant join instructions on origin_visit table when reading.

Related to T2968