Skip to main content

upgrade_data_lake_schema_v13

Function upgrade_data_lake_schema_v13 

Source
pub async fn upgrade_data_lake_schema_v13(
    tr: &mut Transaction<'_, Postgres>,
) -> Result<(), Error>
Expand description

Upgrades the data lake schema to version 13. Drops the selector-shape CHECKs on audience_grants and group_members: the selector vocabulary (valid_selector) now grows without a migration each time, and shape is validated in code only.