{"action":"created","comment":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/24025288","id":24025288,"diff_hunk":"@@ -960,6 +965,9 @@ protected function getColumnSqlDefinition(Column $column)\n         } elseif (isset($sqlType['limit'])) {\n             $def .= '(' . $sqlType['limit'] . ')';\n         }\n+        if(($values = $column->getValues()) && is_array($values)) {","path":"src/Phinx/Db/Adapter/MysqlAdapter.php","position":16,"original_position":16,"commit_id":"3755b4abdeed1c796d7fdf305e42b4163bc784d0","original_commit_id":"3755b4abdeed1c796d7fdf305e42b4163bc784d0","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"body":"Still slightly off for PSR compatibility, but close enough. (Need `if (` with a space.)","created_at":"2015-02-03T18:19:10Z","updated_at":"2015-02-03T18:19:10Z","html_url":"https://github.com/robmorgan/phinx/pull/464#discussion_r24025288","pull_request_url":"https://api.github.com/repos/robmorgan/phinx/pulls/464","_links":{"self":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/24025288"},"html":{"href":"https://github.com/robmorgan/phinx/pull/464#discussion_r24025288"},"pull_request":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/464"}}},"pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/464","id":27937883,"html_url":"https://github.com/robmorgan/phinx/pull/464","diff_url":"https://github.com/robmorgan/phinx/pull/464.diff","patch_url":"https://github.com/robmorgan/phinx/pull/464.patch","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/464","number":464,"state":"open","locked":false,"title":"Added ENUM and SET types for MySQL","user":{"login":"bartekrylko","id":7151921,"avatar_url":"https://avatars.githubusercontent.com/u/7151921?v=3","gravatar_id":"","url":"https://api.github.com/users/bartekrylko","html_url":"https://github.com/bartekrylko","followers_url":"https://api.github.com/users/bartekrylko/followers","following_url":"https://api.github.com/users/bartekrylko/following{/other_user}","gists_url":"https://api.github.com/users/bartekrylko/gists{/gist_id}","starred_url":"https://api.github.com/users/bartekrylko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartekrylko/subscriptions","organizations_url":"https://api.github.com/users/bartekrylko/orgs","repos_url":"https://api.github.com/users/bartekrylko/repos","events_url":"https://api.github.com/users/bartekrylko/events{/privacy}","received_events_url":"https://api.github.com/users/bartekrylko/received_events","type":"User","site_admin":false},"body":"Added as saparate PR - based on #452","created_at":"2015-01-23T16:54:03Z","updated_at":"2015-02-03T18:19:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"527a54e09abbf031dd292293ea22fbcf8b4c754d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robmorgan/phinx/pulls/464/commits","review_comments_url":"https://api.github.com/repos/robmorgan/phinx/pulls/464/comments","review_comment_url":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/464/comments","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/3755b4abdeed1c796d7fdf305e42b4163bc784d0","head":{"label":"DatingVIP:feature/mysqltypes","ref":"feature/mysqltypes","sha":"3755b4abdeed1c796d7fdf305e42b4163bc784d0","user":{"login":"DatingVIP","id":7149377,"avatar_url":"https://avatars.githubusercontent.com/u/7149377?v=3","gravatar_id":"","url":"https://api.github.com/users/DatingVIP","html_url":"https://github.com/DatingVIP","followers_url":"https://api.github.com/users/DatingVIP/followers","following_url":"https://api.github.com/users/DatingVIP/following{/other_user}","gists_url":"https://api.github.com/users/DatingVIP/gists{/gist_id}","starred_url":"https://api.github.com/users/DatingVIP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatingVIP/subscriptions","organizations_url":"https://api.github.com/users/DatingVIP/orgs","repos_url":"https://api.github.com/users/DatingVIP/repos","events_url":"https://api.github.com/users/DatingVIP/events{/privacy}","received_events_url":"https://api.github.com/users/DatingVIP/received_events","type":"Organization","site_admin":false},"repo":{"id":19577336,"name":"phinx","full_name":"DatingVIP/phinx","owner":{"login":"DatingVIP","id":7149377,"avatar_url":"https://avatars.githubusercontent.com/u/7149377?v=3","gravatar_id":"","url":"https://api.github.com/users/DatingVIP","html_url":"https://github.com/DatingVIP","followers_url":"https://api.github.com/users/DatingVIP/followers","following_url":"https://api.github.com/users/DatingVIP/following{/other_user}","gists_url":"https://api.github.com/users/DatingVIP/gists{/gist_id}","starred_url":"https://api.github.com/users/DatingVIP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatingVIP/subscriptions","organizations_url":"https://api.github.com/users/DatingVIP/orgs","repos_url":"https://api.github.com/users/DatingVIP/repos","events_url":"https://api.github.com/users/DatingVIP/events{/privacy}","received_events_url":"https://api.github.com/users/DatingVIP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DatingVIP/phinx","description":"PHP Database Migrations for Everyone","fork":true,"url":"https://api.github.com/repos/DatingVIP/phinx","forks_url":"https://api.github.com/repos/DatingVIP/phinx/forks","keys_url":"https://api.github.com/repos/DatingVIP/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DatingVIP/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DatingVIP/phinx/teams","hooks_url":"https://api.github.com/repos/DatingVIP/phinx/hooks","issue_events_url":"https://api.github.com/repos/DatingVIP/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/DatingVIP/phinx/events","assignees_url":"https://api.github.com/repos/DatingVIP/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/DatingVIP/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/DatingVIP/phinx/tags","blobs_url":"https://api.github.com/repos/DatingVIP/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DatingVIP/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DatingVIP/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/DatingVIP/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DatingVIP/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/DatingVIP/phinx/languages","stargazers_url":"https://api.github.com/repos/DatingVIP/phinx/stargazers","contributors_url":"https://api.github.com/repos/DatingVIP/phinx/contributors","subscribers_url":"https://api.github.com/repos/DatingVIP/phinx/subscribers","subscription_url":"https://api.github.com/repos/DatingVIP/phinx/subscription","commits_url":"https://api.github.com/repos/DatingVIP/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/DatingVIP/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/DatingVIP/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/DatingVIP/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/DatingVIP/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/DatingVIP/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DatingVIP/phinx/merges","archive_url":"https://api.github.com/repos/DatingVIP/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DatingVIP/phinx/downloads","issues_url":"https://api.github.com/repos/DatingVIP/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/DatingVIP/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/DatingVIP/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/DatingVIP/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DatingVIP/phinx/labels{/name}","releases_url":"https://api.github.com/repos/DatingVIP/phinx/releases{/id}","created_at":"2014-05-08T14:54:21Z","updated_at":"2014-07-29T15:29:10Z","pushed_at":"2015-02-03T09:20:51Z","git_url":"git://github.com/DatingVIP/phinx.git","ssh_url":"git@github.com:DatingVIP/phinx.git","clone_url":"https://github.com/DatingVIP/phinx.git","svn_url":"https://github.com/DatingVIP/phinx","homepage":"http://phinx.org","size":3132,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"0.3.x-dev"}},"base":{"label":"robmorgan:0.4.x-dev","ref":"0.4.x-dev","sha":"e61b24bb29dbaaeeaf98881d42b074be1f963851","user":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?v=3","gravatar_id":"","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"repo":{"id":3055234,"name":"phinx","full_name":"robmorgan/phinx","owner":{"login":"robmorgan","id":178939,"avatar_url":"https://avatars.githubusercontent.com/u/178939?v=3","gravatar_id":"","url":"https://api.github.com/users/robmorgan","html_url":"https://github.com/robmorgan","followers_url":"https://api.github.com/users/robmorgan/followers","following_url":"https://api.github.com/users/robmorgan/following{/other_user}","gists_url":"https://api.github.com/users/robmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/robmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robmorgan/subscriptions","organizations_url":"https://api.github.com/users/robmorgan/orgs","repos_url":"https://api.github.com/users/robmorgan/repos","events_url":"https://api.github.com/users/robmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/robmorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robmorgan/phinx","description":"PHP Database Migrations for Everyone","fork":false,"url":"https://api.github.com/repos/robmorgan/phinx","forks_url":"https://api.github.com/repos/robmorgan/phinx/forks","keys_url":"https://api.github.com/repos/robmorgan/phinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robmorgan/phinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robmorgan/phinx/teams","hooks_url":"https://api.github.com/repos/robmorgan/phinx/hooks","issue_events_url":"https://api.github.com/repos/robmorgan/phinx/issues/events{/number}","events_url":"https://api.github.com/repos/robmorgan/phinx/events","assignees_url":"https://api.github.com/repos/robmorgan/phinx/assignees{/user}","branches_url":"https://api.github.com/repos/robmorgan/phinx/branches{/branch}","tags_url":"https://api.github.com/repos/robmorgan/phinx/tags","blobs_url":"https://api.github.com/repos/robmorgan/phinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robmorgan/phinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robmorgan/phinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/robmorgan/phinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robmorgan/phinx/statuses/{sha}","languages_url":"https://api.github.com/repos/robmorgan/phinx/languages","stargazers_url":"https://api.github.com/repos/robmorgan/phinx/stargazers","contributors_url":"https://api.github.com/repos/robmorgan/phinx/contributors","subscribers_url":"https://api.github.com/repos/robmorgan/phinx/subscribers","subscription_url":"https://api.github.com/repos/robmorgan/phinx/subscription","commits_url":"https://api.github.com/repos/robmorgan/phinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/robmorgan/phinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/robmorgan/phinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/{number}","contents_url":"https://api.github.com/repos/robmorgan/phinx/contents/{+path}","compare_url":"https://api.github.com/repos/robmorgan/phinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robmorgan/phinx/merges","archive_url":"https://api.github.com/repos/robmorgan/phinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robmorgan/phinx/downloads","issues_url":"https://api.github.com/repos/robmorgan/phinx/issues{/number}","pulls_url":"https://api.github.com/repos/robmorgan/phinx/pulls{/number}","milestones_url":"https://api.github.com/repos/robmorgan/phinx/milestones{/number}","notifications_url":"https://api.github.com/repos/robmorgan/phinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robmorgan/phinx/labels{/name}","releases_url":"https://api.github.com/repos/robmorgan/phinx/releases{/id}","created_at":"2011-12-27T06:49:45Z","updated_at":"2015-02-03T17:04:32Z","pushed_at":"2015-02-03T04:03:07Z","git_url":"git://github.com/robmorgan/phinx.git","ssh_url":"git@github.com:robmorgan/phinx.git","clone_url":"https://github.com/robmorgan/phinx.git","svn_url":"https://github.com/robmorgan/phinx","homepage":"https://phinx.org","size":6593,"stargazers_count":1198,"watchers_count":1198,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":272,"mirror_url":null,"open_issues_count":115,"forks":272,"open_issues":115,"watchers":1198,"default_branch":"0.4.x-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/464"},"html":{"href":"https://github.com/robmorgan/phinx/pull/464"},"issue":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/464"},"comments":{"href":"https://api.github.com/repos/robmorgan/phinx/issues/464/comments"},"review_comments":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/464/comments"},"review_comment":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/robmorgan/phinx/pulls/464/commits"},"statuses":{"href":"https://api.github.com/repos/robmorgan/phinx/statuses/3755b4abdeed1c796d7fdf305e42b4163bc784d0"}}}}