Repair database wrt indexes / unique constraints
* recreate indexes dropped by 3.23 migration (but it's still unclear why)
* attempt drop remaining extra indexes (there may be a bunch of these on old instances)
* warn about missing expected indexes
Closes #16666137
# re-read ComputedRelation permissions from schema.py now that we're
# able to serialize them
for computedrtype in schema.iter_computed_relations():
sync_schema_props_perms(computedrtype.type)