{"action":"opened","issue":{"url":"https://api.github.com/repos/FinBase/desktop/issues/3","repository_url":"https://api.github.com/repos/FinBase/desktop","labels_url":"https://api.github.com/repos/FinBase/desktop/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/FinBase/desktop/issues/3/comments","events_url":"https://api.github.com/repos/FinBase/desktop/issues/3/events","html_url":"https://github.com/FinBase/desktop/issues/3","id":206041906,"number":3,"title":"More elegant way to fetch current database-user (mySQL)","user":{"login":"MJSt","id":4501783,"avatar_url":"https://avatars.githubusercontent.com/u/4501783?v=3","gravatar_id":"","url":"https://api.github.com/users/MJSt","html_url":"https://github.com/MJSt","followers_url":"https://api.github.com/users/MJSt/followers","following_url":"https://api.github.com/users/MJSt/following{/other_user}","gists_url":"https://api.github.com/users/MJSt/gists{/gist_id}","starred_url":"https://api.github.com/users/MJSt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJSt/subscriptions","organizations_url":"https://api.github.com/users/MJSt/orgs","repos_url":"https://api.github.com/users/MJSt/repos","events_url":"https://api.github.com/users/MJSt/events{/privacy}","received_events_url":"https://api.github.com/users/MJSt/received_events","type":"User","site_admin":false},"labels":[{"id":532330780,"url":"https://api.github.com/repos/FinBase/desktop/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"MJSt","id":4501783,"avatar_url":"https://avatars.githubusercontent.com/u/4501783?v=3","gravatar_id":"","url":"https://api.github.com/users/MJSt","html_url":"https://github.com/MJSt","followers_url":"https://api.github.com/users/MJSt/followers","following_url":"https://api.github.com/users/MJSt/following{/other_user}","gists_url":"https://api.github.com/users/MJSt/gists{/gist_id}","starred_url":"https://api.github.com/users/MJSt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJSt/subscriptions","organizations_url":"https://api.github.com/users/MJSt/orgs","repos_url":"https://api.github.com/users/MJSt/repos","events_url":"https://api.github.com/users/MJSt/events{/privacy}","received_events_url":"https://api.github.com/users/MJSt/received_events","type":"User","site_admin":false},"assignees":[{"login":"MJSt","id":4501783,"avatar_url":"https://avatars.githubusercontent.com/u/4501783?v=3","gravatar_id":"","url":"https://api.github.com/users/MJSt","html_url":"https://github.com/MJSt","followers_url":"https://api.github.com/users/MJSt/followers","following_url":"https://api.github.com/users/MJSt/following{/other_user}","gists_url":"https://api.github.com/users/MJSt/gists{/gist_id}","starred_url":"https://api.github.com/users/MJSt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJSt/subscriptions","organizations_url":"https://api.github.com/users/MJSt/orgs","repos_url":"https://api.github.com/users/MJSt/repos","events_url":"https://api.github.com/users/MJSt/events{/privacy}","received_events_url":"https://api.github.com/users/MJSt/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/FinBase/desktop/milestones/3","html_url":"https://github.com/FinBase/desktop/milestone/3","labels_url":"https://api.github.com/repos/FinBase/desktop/milestones/3/labels","id":2308091,"number":3,"title":"Connectivity","description":"* Implement JPA and database-login functionality\r\n* Audit logins/logouts\r\n* Support another RDBMS (most likely SQLite)","creator":{"login":"MJSt","id":4501783,"avatar_url":"https://avatars.githubusercontent.com/u/4501783?v=3","gravatar_id":"","url":"https://api.github.com/users/MJSt","html_url":"https://github.com/MJSt","followers_url":"https://api.github.com/users/MJSt/followers","following_url":"https://api.github.com/users/MJSt/following{/other_user}","gists_url":"https://api.github.com/users/MJSt/gists{/gist_id}","starred_url":"https://api.github.com/users/MJSt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJSt/subscriptions","organizations_url":"https://api.github.com/users/MJSt/orgs","repos_url":"https://api.github.com/users/MJSt/repos","events_url":"https://api.github.com/users/MJSt/events{/privacy}","received_events_url":"https://api.github.com/users/MJSt/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2017-02-07T22:27:37Z","updated_at":"2017-02-07T22:52:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-02-07T22:52:48Z","updated_at":"2017-02-07T22:52:48Z","closed_at":null,"body":"In case of mySQL, a view can be generated to `SELECT` the current user (`CREATE or REPLACE VIEW USER_INFO AS (SELECT USER(), User, Host FROM mysql.user usr WHERE USER() like CONCAT(User, '@', Host));`)"}}
{"actor":{"display_login":"MJSt"}}