1. Repairs the identity on the summary table, we migrated data without resetting it. 2. Adds an index into ai_summary table to match expected retrieval pattern