{"action":"opened","issue":{"url":"https://api.github.com/repos/ndunand/moodle-tool_mergeusers/issues/83","labels_url":"https://api.github.com/repos/ndunand/moodle-tool_mergeusers/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/ndunand/moodle-tool_mergeusers/issues/83/comments","events_url":"https://api.github.com/repos/ndunand/moodle-tool_mergeusers/issues/83/events","html_url":"https://github.com/ndunand/moodle-tool_mergeusers/issues/83","id":58206031,"number":83,"title":"compound indexes with multiple columns and not all user-related","user":{"login":"jpahullo","id":2048296,"avatar_url":"https://avatars.githubusercontent.com/u/2048296?v=3","gravatar_id":"","url":"https://api.github.com/users/jpahullo","html_url":"https://github.com/jpahullo","followers_url":"https://api.github.com/users/jpahullo/followers","following_url":"https://api.github.com/users/jpahullo/following{/other_user}","gists_url":"https://api.github.com/users/jpahullo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpahullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpahullo/subscriptions","organizations_url":"https://api.github.com/users/jpahullo/orgs","repos_url":"https://api.github.com/users/jpahullo/repos","events_url":"https://api.github.com/users/jpahullo/events{/privacy}","received_events_url":"https://api.github.com/users/jpahullo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T13:10:24Z","updated_at":"2015-02-19T13:10:24Z","closed_at":null,"body":"I found cases where the compound index is formed by several columns, and more than one, but not all of them are user-related.\r\n\r\nImagine an index 'blablaindex' formed by columns (userid1, userid2, othercolumn). The current configuration with the flag 'both' on 'compoundindexes' settings is not any more applicable.\r\n\r\nRethink about it to make generic the number of user-related fields in a compound index."}}