{"action":"opened","number":293,"pull_request":{"url":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293","id":198335976,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MzM1OTc2","html_url":"https://github.com/salsita/node-pg-migrate/pull/293","diff_url":"https://github.com/salsita/node-pg-migrate/pull/293.diff","patch_url":"https://github.com/salsita/node-pg-migrate/pull/293.patch","issue_url":"https://api.github.com/repos/salsita/node-pg-migrate/issues/293","number":293,"state":"open","locked":false,"title":"implemented renaming of enum values","user":{"login":"Shinigami92","id":7195563,"node_id":"MDQ6VXNlcjcxOTU1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/7195563?v=4","gravatar_id":"","url":"https://api.github.com/users/Shinigami92","html_url":"https://github.com/Shinigami92","followers_url":"https://api.github.com/users/Shinigami92/followers","following_url":"https://api.github.com/users/Shinigami92/following{/other_user}","gists_url":"https://api.github.com/users/Shinigami92/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinigami92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinigami92/subscriptions","organizations_url":"https://api.github.com/users/Shinigami92/orgs","repos_url":"https://api.github.com/users/Shinigami92/repos","events_url":"https://api.github.com/users/Shinigami92/events{/privacy}","received_events_url":"https://api.github.com/users/Shinigami92/received_events","type":"User","site_admin":false},"body":"```sql\r\nALTER TYPE name RENAME VALUE existing_enum_value TO new_enum_value;\r\n```\r\n\r\nmade possible by https://commitfest.postgresql.org/10/588\r\nsolution found on https://stackoverflow.com/a/45444822/6897682\r\n\r\nthis is only compatible with PostgreSQL 10+\r\n\r\ndocu: https://www.postgresql.org/docs/10/static/sql-altertype.html","created_at":"2018-06-29T14:34:56Z","updated_at":"2018-06-29T14:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293/commits","review_comments_url":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293/comments","review_comment_url":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/salsita/node-pg-migrate/issues/293/comments","statuses_url":"https://api.github.com/repos/salsita/node-pg-migrate/statuses/be3a6db3da7589793b576ca56bd3db3538470135","head":{"label":"Shinigami92:feature/rename-type-value","ref":"feature/rename-type-value","sha":"be3a6db3da7589793b576ca56bd3db3538470135","user":{"login":"Shinigami92","id":7195563,"node_id":"MDQ6VXNlcjcxOTU1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/7195563?v=4","gravatar_id":"","url":"https://api.github.com/users/Shinigami92","html_url":"https://github.com/Shinigami92","followers_url":"https://api.github.com/users/Shinigami92/followers","following_url":"https://api.github.com/users/Shinigami92/following{/other_user}","gists_url":"https://api.github.com/users/Shinigami92/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinigami92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinigami92/subscriptions","organizations_url":"https://api.github.com/users/Shinigami92/orgs","repos_url":"https://api.github.com/users/Shinigami92/repos","events_url":"https://api.github.com/users/Shinigami92/events{/privacy}","received_events_url":"https://api.github.com/users/Shinigami92/received_events","type":"User","site_admin":false},"repo":{"id":139037553,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwMzc1NTM=","name":"node-pg-migrate","full_name":"Shinigami92/node-pg-migrate","owner":{"login":"Shinigami92","id":7195563,"node_id":"MDQ6VXNlcjcxOTU1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/7195563?v=4","gravatar_id":"","url":"https://api.github.com/users/Shinigami92","html_url":"https://github.com/Shinigami92","followers_url":"https://api.github.com/users/Shinigami92/followers","following_url":"https://api.github.com/users/Shinigami92/following{/other_user}","gists_url":"https://api.github.com/users/Shinigami92/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinigami92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinigami92/subscriptions","organizations_url":"https://api.github.com/users/Shinigami92/orgs","repos_url":"https://api.github.com/users/Shinigami92/repos","events_url":"https://api.github.com/users/Shinigami92/events{/privacy}","received_events_url":"https://api.github.com/users/Shinigami92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shinigami92/node-pg-migrate","description":"Node.js database migration management for Postgresql","fork":true,"url":"https://api.github.com/repos/Shinigami92/node-pg-migrate","forks_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/forks","keys_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/teams","hooks_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/hooks","issue_events_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/issues/events{/number}","events_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/events","assignees_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/assignees{/user}","branches_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/branches{/branch}","tags_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/tags","blobs_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/languages","stargazers_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/stargazers","contributors_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/contributors","subscribers_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/subscribers","subscription_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/subscription","commits_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/contents/{+path}","compare_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/merges","archive_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/downloads","issues_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/issues{/number}","pulls_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/labels{/name}","releases_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/releases{/id}","deployments_url":"https://api.github.com/repos/Shinigami92/node-pg-migrate/deployments","created_at":"2018-06-28T15:34:05Z","updated_at":"2018-06-29T13:54:25Z","pushed_at":"2018-06-29T14:31:51Z","git_url":"git://github.com/Shinigami92/node-pg-migrate.git","ssh_url":"git@github.com:Shinigami92/node-pg-migrate.git","clone_url":"https://github.com/Shinigami92/node-pg-migrate.git","svn_url":"https://github.com/Shinigami92/node-pg-migrate","homepage":null,"size":801,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"salsita:master","ref":"master","sha":"d7293434077bc0bc8919712123f61444ec29a6c4","user":{"login":"salsita","id":1357845,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc4NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1357845?v=4","gravatar_id":"","url":"https://api.github.com/users/salsita","html_url":"https://github.com/salsita","followers_url":"https://api.github.com/users/salsita/followers","following_url":"https://api.github.com/users/salsita/following{/other_user}","gists_url":"https://api.github.com/users/salsita/gists{/gist_id}","starred_url":"https://api.github.com/users/salsita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salsita/subscriptions","organizations_url":"https://api.github.com/users/salsita/orgs","repos_url":"https://api.github.com/users/salsita/repos","events_url":"https://api.github.com/users/salsita/events{/privacy}","received_events_url":"https://api.github.com/users/salsita/received_events","type":"Organization","site_admin":false},"repo":{"id":17729096,"node_id":"MDEwOlJlcG9zaXRvcnkxNzcyOTA5Ng==","name":"node-pg-migrate","full_name":"salsita/node-pg-migrate","owner":{"login":"salsita","id":1357845,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNTc4NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1357845?v=4","gravatar_id":"","url":"https://api.github.com/users/salsita","html_url":"https://github.com/salsita","followers_url":"https://api.github.com/users/salsita/followers","following_url":"https://api.github.com/users/salsita/following{/other_user}","gists_url":"https://api.github.com/users/salsita/gists{/gist_id}","starred_url":"https://api.github.com/users/salsita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salsita/subscriptions","organizations_url":"https://api.github.com/users/salsita/orgs","repos_url":"https://api.github.com/users/salsita/repos","events_url":"https://api.github.com/users/salsita/events{/privacy}","received_events_url":"https://api.github.com/users/salsita/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/salsita/node-pg-migrate","description":"Node.js database migration management for Postgresql","fork":false,"url":"https://api.github.com/repos/salsita/node-pg-migrate","forks_url":"https://api.github.com/repos/salsita/node-pg-migrate/forks","keys_url":"https://api.github.com/repos/salsita/node-pg-migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/salsita/node-pg-migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/salsita/node-pg-migrate/teams","hooks_url":"https://api.github.com/repos/salsita/node-pg-migrate/hooks","issue_events_url":"https://api.github.com/repos/salsita/node-pg-migrate/issues/events{/number}","events_url":"https://api.github.com/repos/salsita/node-pg-migrate/events","assignees_url":"https://api.github.com/repos/salsita/node-pg-migrate/assignees{/user}","branches_url":"https://api.github.com/repos/salsita/node-pg-migrate/branches{/branch}","tags_url":"https://api.github.com/repos/salsita/node-pg-migrate/tags","blobs_url":"https://api.github.com/repos/salsita/node-pg-migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/salsita/node-pg-migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/salsita/node-pg-migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/salsita/node-pg-migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/salsita/node-pg-migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/salsita/node-pg-migrate/languages","stargazers_url":"https://api.github.com/repos/salsita/node-pg-migrate/stargazers","contributors_url":"https://api.github.com/repos/salsita/node-pg-migrate/contributors","subscribers_url":"https://api.github.com/repos/salsita/node-pg-migrate/subscribers","subscription_url":"https://api.github.com/repos/salsita/node-pg-migrate/subscription","commits_url":"https://api.github.com/repos/salsita/node-pg-migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/salsita/node-pg-migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/salsita/node-pg-migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/salsita/node-pg-migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/salsita/node-pg-migrate/contents/{+path}","compare_url":"https://api.github.com/repos/salsita/node-pg-migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/salsita/node-pg-migrate/merges","archive_url":"https://api.github.com/repos/salsita/node-pg-migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/salsita/node-pg-migrate/downloads","issues_url":"https://api.github.com/repos/salsita/node-pg-migrate/issues{/number}","pulls_url":"https://api.github.com/repos/salsita/node-pg-migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/salsita/node-pg-migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/salsita/node-pg-migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/salsita/node-pg-migrate/labels{/name}","releases_url":"https://api.github.com/repos/salsita/node-pg-migrate/releases{/id}","deployments_url":"https://api.github.com/repos/salsita/node-pg-migrate/deployments","created_at":"2014-03-13T23:09:22Z","updated_at":"2018-06-29T12:59:15Z","pushed_at":"2018-06-29T13:33:16Z","git_url":"git://github.com/salsita/node-pg-migrate.git","ssh_url":"git@github.com:salsita/node-pg-migrate.git","clone_url":"https://github.com/salsita/node-pg-migrate.git","svn_url":"https://github.com/salsita/node-pg-migrate","homepage":null,"size":798,"stargazers_count":351,"watchers_count":351,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":70,"open_issues":8,"watchers":351,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293"},"html":{"href":"https://github.com/salsita/node-pg-migrate/pull/293"},"issue":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/issues/293"},"comments":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/salsita/node-pg-migrate/statuses/be3a6db3da7589793b576ca56bd3db3538470135"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":12,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"Shinigami92"}}