Manual:$wgExtNewIndexes

Details
Used to add indexes to existing tables. For PostgreSQL, you can add the index clause instead of a filename.