{"action":"created","issue":{"url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/415","repository_url":"https://api.github.com/repos/sqlcollaborative/dbatools","labels_url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/415/comments","events_url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/415/events","html_url":"https://github.com/sqlcollaborative/dbatools/pull/415","id":194838090,"number":415,"title":"Improve removeorphanuser","user":{"login":"ClaudioESSilva","id":19521315,"avatar_url":"https://avatars.githubusercontent.com/u/19521315?v=3","gravatar_id":"","url":"https://api.github.com/users/ClaudioESSilva","html_url":"https://github.com/ClaudioESSilva","followers_url":"https://api.github.com/users/ClaudioESSilva/followers","following_url":"https://api.github.com/users/ClaudioESSilva/following{/other_user}","gists_url":"https://api.github.com/users/ClaudioESSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/ClaudioESSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClaudioESSilva/subscriptions","organizations_url":"https://api.github.com/users/ClaudioESSilva/orgs","repos_url":"https://api.github.com/users/ClaudioESSilva/repos","events_url":"https://api.github.com/users/ClaudioESSilva/events{/privacy}","received_events_url":"https://api.github.com/users/ClaudioESSilva/received_events","type":"User","site_admin":false},"labels":[{"id":173004249,"url":"https://api.github.com/repos/sqlcollaborative/dbatools/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":443085689,"url":"https://api.github.com/repos/sqlcollaborative/dbatools/labels/needs%20testing","name":"needs testing","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sqlcollaborative/dbatools/milestones/6","html_url":"https://github.com/sqlcollaborative/dbatools/milestone/6","labels_url":"https://api.github.com/repos/sqlcollaborative/dbatools/milestones/6/labels","id":2194939,"number":6,"title":"twentyfiveschmeckles","description":"We gotta get these PRs cleaned up. Deadline is New Years! Let's party, y'all.","creator":{"login":"ctrlbold","id":8278033,"avatar_url":"https://avatars.githubusercontent.com/u/8278033?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrlbold","html_url":"https://github.com/ctrlbold","followers_url":"https://api.github.com/users/ctrlbold/followers","following_url":"https://api.github.com/users/ctrlbold/following{/other_user}","gists_url":"https://api.github.com/users/ctrlbold/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrlbold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrlbold/subscriptions","organizations_url":"https://api.github.com/users/ctrlbold/orgs","repos_url":"https://api.github.com/users/ctrlbold/repos","events_url":"https://api.github.com/users/ctrlbold/events{/privacy}","received_events_url":"https://api.github.com/users/ctrlbold/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2016-12-13T19:35:14Z","updated_at":"2016-12-13T21:30:52Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-12-11T15:35:50Z","updated_at":"2016-12-14T01:39:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sqlcollaborative/dbatools/pulls/415","html_url":"https://github.com/sqlcollaborative/dbatools/pull/415","diff_url":"https://github.com/sqlcollaborative/dbatools/pull/415.diff","patch_url":"https://github.com/sqlcollaborative/dbatools/pull/415.patch"},"body":"Check for user as schema owner"},"comment":{"url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/comments/266917447","html_url":"https://github.com/sqlcollaborative/dbatools/pull/415#issuecomment-266917447","issue_url":"https://api.github.com/repos/sqlcollaborative/dbatools/issues/415","id":266917447,"user":{"login":"ClaudioESSilva","id":19521315,"avatar_url":"https://avatars.githubusercontent.com/u/19521315?v=3","gravatar_id":"","url":"https://api.github.com/users/ClaudioESSilva","html_url":"https://github.com/ClaudioESSilva","followers_url":"https://api.github.com/users/ClaudioESSilva/followers","following_url":"https://api.github.com/users/ClaudioESSilva/following{/other_user}","gists_url":"https://api.github.com/users/ClaudioESSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/ClaudioESSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClaudioESSilva/subscriptions","organizations_url":"https://api.github.com/users/ClaudioESSilva/orgs","repos_url":"https://api.github.com/users/ClaudioESSilva/repos","events_url":"https://api.github.com/users/ClaudioESSilva/events{/privacy}","received_events_url":"https://api.github.com/users/ClaudioESSilva/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T01:39:42Z","updated_at":"2016-12-14T01:39:42Z","body":"@ConstantineK Thanks on the input!\r\nI created a PSCustomObject with the Action, Before and After schema owner.\r\n![image](https://cloud.githubusercontent.com/assets/19521315/21166495/d6bcc564-c19d-11e6-9e69-49e023160103.png)\r\n\r\n@PowerDBAKlaas we have a question here for you 😄 \r\nI kept the `Write-Output` along with the PSCustomObject. I have tested on my machine (PS v5.1) and the pipeline works just great. do you think we can leave this that way?\r\n![image](https://cloud.githubusercontent.com/assets/19521315/21166516/ec456990-c19d-11e6-979a-64272c0facdb.png)\r\n\r\nOtherwise we need to move `Write-Output` to `Write-Verbose`.. but that way, when we don't need to deal with schemas the screen will be empty..no output.. no feedback. And..I don't like that.\r\n\r\nPlease share your thoughts 😃 "}}
{"actor":{"display_login":"ClaudioESSilva"}}