{"action":"created","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/1204","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/1204/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/1204/events","html_url":"https://github.com/the-control-group/voyager/issues/1204","id":225142437,"number":1204,"title":"Data Type for Multi Select","user":{"login":"adriangordon1231","id":7938253,"avatar_url":"https://avatars3.githubusercontent.com/u/7938253?v=3","gravatar_id":"","url":"https://api.github.com/users/adriangordon1231","html_url":"https://github.com/adriangordon1231","followers_url":"https://api.github.com/users/adriangordon1231/followers","following_url":"https://api.github.com/users/adriangordon1231/following{/other_user}","gists_url":"https://api.github.com/users/adriangordon1231/gists{/gist_id}","starred_url":"https://api.github.com/users/adriangordon1231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriangordon1231/subscriptions","organizations_url":"https://api.github.com/users/adriangordon1231/orgs","repos_url":"https://api.github.com/users/adriangordon1231/repos","events_url":"https://api.github.com/users/adriangordon1231/events{/privacy}","received_events_url":"https://api.github.com/users/adriangordon1231/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-28T17:19:28Z","updated_at":"2017-04-30T07:21:23Z","closed_at":null,"body":"- Laravel Version: 5.3.*\r\n- Voyager Version: 0.11.9\r\n- PHP Version:\r\n- Database Driver & Version: Mysql\r\n\r\n### Description:\r\n\r\nThis is more of a question than an issue.\r\n\r\nWhat data type should typically be used for storing values from multi select fields. I notice that the value of these fields are returned as an array, so I figured that JSON would be the correct fit. Unfortunately however, I am getting an \"Array to string conversion\" error when attempting to use it.\r\n\r\nWhat approach should I take to store this kind of information in my database? Do I first need to convert the array to a JSON object via a mutator?"},"comment":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/comments/298216386","html_url":"https://github.com/the-control-group/voyager/issues/1204#issuecomment-298216386","issue_url":"https://api.github.com/repos/the-control-group/voyager/issues/1204","id":298216386,"user":{"login":"adriangordon1231","id":7938253,"avatar_url":"https://avatars3.githubusercontent.com/u/7938253?v=3","gravatar_id":"","url":"https://api.github.com/users/adriangordon1231","html_url":"https://github.com/adriangordon1231","followers_url":"https://api.github.com/users/adriangordon1231/followers","following_url":"https://api.github.com/users/adriangordon1231/following{/other_user}","gists_url":"https://api.github.com/users/adriangordon1231/gists{/gist_id}","starred_url":"https://api.github.com/users/adriangordon1231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriangordon1231/subscriptions","organizations_url":"https://api.github.com/users/adriangordon1231/orgs","repos_url":"https://api.github.com/users/adriangordon1231/repos","events_url":"https://api.github.com/users/adriangordon1231/events{/privacy}","received_events_url":"https://api.github.com/users/adriangordon1231/received_events","type":"User","site_admin":false},"created_at":"2017-04-30T07:21:23Z","updated_at":"2017-04-30T07:21:23Z","body":"@fletch3555 I do not think you are understanding my question. The docs make no mention of the data type that should be used for the field. It is ok though. I'll just close this issue since I have found my solution."}}
{"actor":{"display_login":"adriangordon1231"}}