awaitprisma.$executeRawUnsafe("CREATE UNIQUE INDEX image_ci_active_fact ON patient_facts(host_id,tenant_id,source_unit,subject_id) WHERE status='active'");
awaitprisma.$executeRawUnsafe("CREATE UNIQUE INDEX image_ci_event ON patient_transactions(host_id,tenant_id,source_event_id) WHERE source_event_id IS NOT NULL");