{"action":"created","issue":{"url":"https://api.github.com/repos/Zizaco/entrust/issues/240","labels_url":"https://api.github.com/repos/Zizaco/entrust/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/Zizaco/entrust/issues/240/comments","events_url":"https://api.github.com/repos/Zizaco/entrust/issues/240/events","html_url":"https://github.com/Zizaco/entrust/issues/240","id":56013455,"number":240,"title":"Add a config option for reference column","user":{"login":"Gtskk","id":2942038,"avatar_url":"https://avatars.githubusercontent.com/u/2942038?v=3","gravatar_id":"","url":"https://api.github.com/users/Gtskk","html_url":"https://github.com/Gtskk","followers_url":"https://api.github.com/users/Gtskk/followers","following_url":"https://api.github.com/users/Gtskk/following{/other_user}","gists_url":"https://api.github.com/users/Gtskk/gists{/gist_id}","starred_url":"https://api.github.com/users/Gtskk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gtskk/subscriptions","organizations_url":"https://api.github.com/users/Gtskk/orgs","repos_url":"https://api.github.com/users/Gtskk/repos","events_url":"https://api.github.com/users/Gtskk/events{/privacy}","received_events_url":"https://api.github.com/users/Gtskk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-30T09:50:00Z","updated_at":"2015-06-28T12:57:56Z","closed_at":null,"body":"Maybe a config option for reference column ? When change the table name, the reference column should be changed. So?"},"comment":{"url":"https://api.github.com/repos/Zizaco/entrust/issues/comments/116275498","html_url":"https://github.com/Zizaco/entrust/issues/240#issuecomment-116275498","issue_url":"https://api.github.com/repos/Zizaco/entrust/issues/240","id":116275498,"user":{"login":"pedzed","id":8146593,"avatar_url":"https://avatars.githubusercontent.com/u/8146593?v=3","gravatar_id":"","url":"https://api.github.com/users/pedzed","html_url":"https://github.com/pedzed","followers_url":"https://api.github.com/users/pedzed/followers","following_url":"https://api.github.com/users/pedzed/following{/other_user}","gists_url":"https://api.github.com/users/pedzed/gists{/gist_id}","starred_url":"https://api.github.com/users/pedzed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedzed/subscriptions","organizations_url":"https://api.github.com/users/pedzed/orgs","repos_url":"https://api.github.com/users/pedzed/repos","events_url":"https://api.github.com/users/pedzed/events{/privacy}","received_events_url":"https://api.github.com/users/pedzed/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T12:57:56Z","updated_at":"2015-06-28T12:57:56Z","body":"> If I changed roles and members table name, the \"hasMany\" or \"belongsToMany\" reference column name will be different.\r\n\r\nI had no problems when I tried it. Can you try to reproduce the problem?"}}