{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/1186","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/1186/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/1186/events","html_url":"https://github.com/laravel/framework/issues/1186","id":13982201,"number":1186,"title":"[Bug] Schema builder - renameColumn fails on table with enum columns","user":{"login":"itsgoingd","id":821582,"avatar_url":"https://avatars1.githubusercontent.com/u/821582?v=4","gravatar_id":"","url":"https://api.github.com/users/itsgoingd","html_url":"https://github.com/itsgoingd","followers_url":"https://api.github.com/users/itsgoingd/followers","following_url":"https://api.github.com/users/itsgoingd/following{/other_user}","gists_url":"https://api.github.com/users/itsgoingd/gists{/gist_id}","starred_url":"https://api.github.com/users/itsgoingd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsgoingd/subscriptions","organizations_url":"https://api.github.com/users/itsgoingd/orgs","repos_url":"https://api.github.com/users/itsgoingd/repos","events_url":"https://api.github.com/users/itsgoingd/events{/privacy}","received_events_url":"https://api.github.com/users/itsgoingd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":62,"created_at":"2013-05-05T19:46:11Z","updated_at":"2017-09-11T20:26:51Z","closed_at":"2013-05-10T15:27:18Z","author_association":"NONE","body":"Example code:\n\n``` php\nSchema::create('presentations', function($table)\n{\n...\n    $table->enum('repeat_unit', array('DAY', 'WEEK', 'MONTH', 'YEAR'))->default('DAY');\n...\n});\n\nSchema::table('presentations', function($table)\n{\n    $table->renameColumn('created', 'created_at');\n});\n```\n\nResult:\n\n>  [Doctrine\\DBAL\\DBALException]\n>  Unknown database type enum requested, Doctrine\\DBAL\\Platforms\\MySqlPlatform may not support it.\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/328648559","html_url":"https://github.com/laravel/framework/issues/1186#issuecomment-328648559","issue_url":"https://api.github.com/repos/laravel/framework/issues/1186","id":328648559,"user":{"login":"tecnoher","id":22015835,"avatar_url":"https://avatars0.githubusercontent.com/u/22015835?v=4","gravatar_id":"","url":"https://api.github.com/users/tecnoher","html_url":"https://github.com/tecnoher","followers_url":"https://api.github.com/users/tecnoher/followers","following_url":"https://api.github.com/users/tecnoher/following{/other_user}","gists_url":"https://api.github.com/users/tecnoher/gists{/gist_id}","starred_url":"https://api.github.com/users/tecnoher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tecnoher/subscriptions","organizations_url":"https://api.github.com/users/tecnoher/orgs","repos_url":"https://api.github.com/users/tecnoher/repos","events_url":"https://api.github.com/users/tecnoher/events{/privacy}","received_events_url":"https://api.github.com/users/tecnoher/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T20:26:51Z","updated_at":"2017-09-11T20:26:51Z","author_association":"NONE","body":"@henritoivar thanks a lot! "}}
{"actor":{"display_login":"tecnoher"}}