pub async fn upgrade_data_lake_schema_v14(
tr: &mut Transaction<'_, Postgres>,
) -> Result<(), Error>Expand description
Upgrades the data lake schema to version 14.
Drops the last grant/group shape CHECKs: audience_grants_audience_name (a grant audience may
now be *), the audience_grants axis CHECK (declared inline in v7, so Postgres auto-named
it audience_grants_axis_check), and groups_name. Grant and group vocabulary is validated in
code only; a malformed row written by direct SQL is skipped by the snapshot loaders.