{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/quickstart-intermediate/issues/40","repository_url":"https://api.github.com/repos/laravel/quickstart-intermediate","labels_url":"https://api.github.com/repos/laravel/quickstart-intermediate/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/laravel/quickstart-intermediate/issues/40/comments","events_url":"https://api.github.com/repos/laravel/quickstart-intermediate/issues/40/events","html_url":"https://github.com/laravel/quickstart-intermediate/issues/40","id":175333900,"number":40,"title":"table column update tinyInteger doesn't work","user":{"login":"Zerotask","id":20150243,"avatar_url":"https://avatars.githubusercontent.com/u/20150243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zerotask","html_url":"https://github.com/Zerotask","followers_url":"https://api.github.com/users/Zerotask/followers","following_url":"https://api.github.com/users/Zerotask/following{/other_user}","gists_url":"https://api.github.com/users/Zerotask/gists{/gist_id}","starred_url":"https://api.github.com/users/Zerotask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zerotask/subscriptions","organizations_url":"https://api.github.com/users/Zerotask/orgs","repos_url":"https://api.github.com/users/Zerotask/repos","events_url":"https://api.github.com/users/Zerotask/events{/privacy}","received_events_url":"https://api.github.com/users/Zerotask/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-06T19:45:19Z","updated_at":"2016-09-06T19:45:19Z","closed_at":null,"body":"I tried to update a table column within a migration file:\r\n\r\n$table->tinyInteger('xyz')->unsigned()->default(1)->change();\r\n\r\nand I got the error:\r\n\r\n> [Doctrine\\DBAL\\DBALException]                                                                                                                                                           \r\n  Unknown column type \"tinyinteger\" requested. Any Doctrine type that you use has to be registered with \\Doctrine\\DBAL\\Types\\Type::addType(). You can get a list of all the known types   \r\n  with \\Doctrine\\DBAL\\Types\\Type::getTypesMap(). If this error occurs during database introspection then you might have forgot to register all database types for a Doctrine Type. Use A  \r\n  bstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or   \r\n  forgot some mapping information.          \r\n\r\nWhen I changed it from tinyInteger to smallInteger, it works."}}
{"actor":{"display_login":"Zerotask"}}