{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9800","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9800/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9800/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9800/events","html_url":"https://github.com/yiisoft/yii2/issues/9800","id":109044105,"number":9800,"title":"Add comment to DB schema builder","user":{"login":"nkostadinov","id":1700251,"avatar_url":"https://avatars.githubusercontent.com/u/1700251?v=3","gravatar_id":"","url":"https://api.github.com/users/nkostadinov","html_url":"https://github.com/nkostadinov","followers_url":"https://api.github.com/users/nkostadinov/followers","following_url":"https://api.github.com/users/nkostadinov/following{/other_user}","gists_url":"https://api.github.com/users/nkostadinov/gists{/gist_id}","starred_url":"https://api.github.com/users/nkostadinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkostadinov/subscriptions","organizations_url":"https://api.github.com/users/nkostadinov/orgs","repos_url":"https://api.github.com/users/nkostadinov/repos","events_url":"https://api.github.com/users/nkostadinov/events{/privacy}","received_events_url":"https://api.github.com/users/nkostadinov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T08:54:06Z","updated_at":"2015-09-30T08:54:06Z","closed_at":null,"body":"It would be really nice if the migration script offered a simple comment method to add comments to field definitions e.g.\r\n\r\n````\r\n       $this->createTable('{{%customer}}', [\r\n            'id' => $this->primaryKey(),\r\n            'name' => $this->string()->comment(\"this is a comment\"),\r\n            ......\r\n       ]);\r\n````"}}