{"action":"closed","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/3146","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/3146/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/3146/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/3146/events","html_url":"https://github.com/the-control-group/voyager/issues/3146","id":320640584,"node_id":"MDU6SXNzdWUzMjA2NDA1ODQ=","number":3146,"title":"Locale Data Row is removed from database after updating users table BREAD","user":{"login":"carlost89","id":24354855,"node_id":"MDQ6VXNlcjI0MzU0ODU1","avatar_url":"https://avatars3.githubusercontent.com/u/24354855?v=4","gravatar_id":"","url":"https://api.github.com/users/carlost89","html_url":"https://github.com/carlost89","followers_url":"https://api.github.com/users/carlost89/followers","following_url":"https://api.github.com/users/carlost89/following{/other_user}","gists_url":"https://api.github.com/users/carlost89/gists{/gist_id}","starred_url":"https://api.github.com/users/carlost89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlost89/subscriptions","organizations_url":"https://api.github.com/users/carlost89/orgs","repos_url":"https://api.github.com/users/carlost89/repos","events_url":"https://api.github.com/users/carlost89/events{/privacy}","received_events_url":"https://api.github.com/users/carlost89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"emptynick","id":2482942,"node_id":"MDQ6VXNlcjI0ODI5NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/2482942?v=4","gravatar_id":"","url":"https://api.github.com/users/emptynick","html_url":"https://github.com/emptynick","followers_url":"https://api.github.com/users/emptynick/followers","following_url":"https://api.github.com/users/emptynick/following{/other_user}","gists_url":"https://api.github.com/users/emptynick/gists{/gist_id}","starred_url":"https://api.github.com/users/emptynick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emptynick/subscriptions","organizations_url":"https://api.github.com/users/emptynick/orgs","repos_url":"https://api.github.com/users/emptynick/repos","events_url":"https://api.github.com/users/emptynick/events{/privacy}","received_events_url":"https://api.github.com/users/emptynick/received_events","type":"User","site_admin":false},"assignees":[{"login":"emptynick","id":2482942,"node_id":"MDQ6VXNlcjI0ODI5NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/2482942?v=4","gravatar_id":"","url":"https://api.github.com/users/emptynick","html_url":"https://github.com/emptynick","followers_url":"https://api.github.com/users/emptynick/followers","following_url":"https://api.github.com/users/emptynick/following{/other_user}","gists_url":"https://api.github.com/users/emptynick/gists{/gist_id}","starred_url":"https://api.github.com/users/emptynick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emptynick/subscriptions","organizations_url":"https://api.github.com/users/emptynick/orgs","repos_url":"https://api.github.com/users/emptynick/repos","events_url":"https://api.github.com/users/emptynick/events{/privacy}","received_events_url":"https://api.github.com/users/emptynick/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-06T23:57:18Z","updated_at":"2018-12-27T22:41:26Z","closed_at":"2018-12-27T22:41:25Z","author_association":"NONE","body":"- Laravel Version: 5.5.40\r\n- Voyager Version: 1.1\r\n- PHP Version: 7.0.28\r\n- Database Driver & Version:\r\n\r\n### Description:\r\n\r\nWhen I update the users table BREAD, the locale data row is removed from database because this field doesn't exist in the users table. The problem is that when I try to edit the users locale language it doesn't work because the mutator:\r\n\r\n`public function setLocaleAttribute($value)\r\n    {\r\n        $this->attributes['settings'] = collect($this->settings)->merge(['locale' => $value]);\r\n    }`\r\n\r\ndoes not trigger for the lack of locale data row.\r\n\r\nWhat can I do to avoid that locale data row is being removed from database?\r\n\r\n### Steps To Reproduce:\r\n"}}
{"actor":{"display_login":"emptynick"}}