{"action":"created","comment":{"url":"https://api.github.com/repos/astaxie/beego/pulls/comments/58640197","id":58640197,"diff_hunk":"@@ -46,9 +47,9 @@ const (\n \n // Define some logic enum\n const (\n-\tIsIntegerField         = ^-TypePositiveBigIntegerField >> 4 << 5\n-\tIsPositiveIntegerField = ^-TypePositiveBigIntegerField >> 8 << 9\n-\tIsRelField             = ^-RelReverseMany >> 14 << 15\n+\tIsIntegerField         = ^-TypePositiveBigIntegerField >> 5 << 6\n+\tIsPositiveIntegerField = ^-TypePositiveBigIntegerField >> 9 << 10\n+\tIsRelField             = ^-RelReverseMany >> 15 << 16","path":"orm/models_fields.go","position":17,"original_position":17,"commit_id":"d49c7f96cb746ea2c6ce74badd92b7357d86d616","original_commit_id":"d49c7f96cb746ea2c6ce74badd92b7357d86d616","user":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"body":"@b055 @lluishernandez thanks for update. that make sense","created_at":"2016-04-06T01:25:44Z","updated_at":"2016-04-06T01:25:44Z","html_url":"https://github.com/astaxie/beego/pull/1856#discussion_r58640197","pull_request_url":"https://api.github.com/repos/astaxie/beego/pulls/1856","_links":{"self":{"href":"https://api.github.com/repos/astaxie/beego/pulls/comments/58640197"},"html":{"href":"https://github.com/astaxie/beego/pull/1856#discussion_r58640197"},"pull_request":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1856"}}},"pull_request":{"url":"https://api.github.com/repos/astaxie/beego/pulls/1856","id":65070840,"html_url":"https://github.com/astaxie/beego/pull/1856","diff_url":"https://github.com/astaxie/beego/pull/1856.diff","patch_url":"https://github.com/astaxie/beego/pull/1856.patch","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1856","number":1856,"state":"open","locked":false,"title":"added functionality for column type time","user":{"login":"b055","id":1941886,"avatar_url":"https://avatars.githubusercontent.com/u/1941886?v=3","gravatar_id":"","url":"https://api.github.com/users/b055","html_url":"https://github.com/b055","followers_url":"https://api.github.com/users/b055/followers","following_url":"https://api.github.com/users/b055/following{/other_user}","gists_url":"https://api.github.com/users/b055/gists{/gist_id}","starred_url":"https://api.github.com/users/b055/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b055/subscriptions","organizations_url":"https://api.github.com/users/b055/orgs","repos_url":"https://api.github.com/users/b055/repos","events_url":"https://api.github.com/users/b055/events{/privacy}","received_events_url":"https://api.github.com/users/b055/received_events","type":"User","site_admin":false},"body":"Here is the original issue https://github.com/astaxie/beego/issues/1547\r\n\r\nThis enabled the use of the time column type in databases. Tested sqlite3 and mysql. I don't have a postgres setup, but travis should take care of that.\r\nupdated the model_fields to cater for the time field type","created_at":"2016-04-03T15:04:24Z","updated_at":"2016-04-06T01:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd7b6a9a61167f3cde4d5cdb9042c2713728d219","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/astaxie/beego/pulls/1856/commits","review_comments_url":"https://api.github.com/repos/astaxie/beego/pulls/1856/comments","review_comment_url":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1856/comments","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/d49c7f96cb746ea2c6ce74badd92b7357d86d616","head":{"label":"b055:develop","ref":"develop","sha":"d49c7f96cb746ea2c6ce74badd92b7357d86d616","user":{"login":"b055","id":1941886,"avatar_url":"https://avatars.githubusercontent.com/u/1941886?v=3","gravatar_id":"","url":"https://api.github.com/users/b055","html_url":"https://github.com/b055","followers_url":"https://api.github.com/users/b055/followers","following_url":"https://api.github.com/users/b055/following{/other_user}","gists_url":"https://api.github.com/users/b055/gists{/gist_id}","starred_url":"https://api.github.com/users/b055/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b055/subscriptions","organizations_url":"https://api.github.com/users/b055/orgs","repos_url":"https://api.github.com/users/b055/repos","events_url":"https://api.github.com/users/b055/events{/privacy}","received_events_url":"https://api.github.com/users/b055/received_events","type":"User","site_admin":false},"repo":{"id":49290369,"name":"beego","full_name":"b055/beego","owner":{"login":"b055","id":1941886,"avatar_url":"https://avatars.githubusercontent.com/u/1941886?v=3","gravatar_id":"","url":"https://api.github.com/users/b055","html_url":"https://github.com/b055","followers_url":"https://api.github.com/users/b055/followers","following_url":"https://api.github.com/users/b055/following{/other_user}","gists_url":"https://api.github.com/users/b055/gists{/gist_id}","starred_url":"https://api.github.com/users/b055/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b055/subscriptions","organizations_url":"https://api.github.com/users/b055/orgs","repos_url":"https://api.github.com/users/b055/repos","events_url":"https://api.github.com/users/b055/events{/privacy}","received_events_url":"https://api.github.com/users/b055/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b055/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":true,"url":"https://api.github.com/repos/b055/beego","forks_url":"https://api.github.com/repos/b055/beego/forks","keys_url":"https://api.github.com/repos/b055/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b055/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b055/beego/teams","hooks_url":"https://api.github.com/repos/b055/beego/hooks","issue_events_url":"https://api.github.com/repos/b055/beego/issues/events{/number}","events_url":"https://api.github.com/repos/b055/beego/events","assignees_url":"https://api.github.com/repos/b055/beego/assignees{/user}","branches_url":"https://api.github.com/repos/b055/beego/branches{/branch}","tags_url":"https://api.github.com/repos/b055/beego/tags","blobs_url":"https://api.github.com/repos/b055/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b055/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b055/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/b055/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b055/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/b055/beego/languages","stargazers_url":"https://api.github.com/repos/b055/beego/stargazers","contributors_url":"https://api.github.com/repos/b055/beego/contributors","subscribers_url":"https://api.github.com/repos/b055/beego/subscribers","subscription_url":"https://api.github.com/repos/b055/beego/subscription","commits_url":"https://api.github.com/repos/b055/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/b055/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/b055/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/b055/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/b055/beego/contents/{+path}","compare_url":"https://api.github.com/repos/b055/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b055/beego/merges","archive_url":"https://api.github.com/repos/b055/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b055/beego/downloads","issues_url":"https://api.github.com/repos/b055/beego/issues{/number}","pulls_url":"https://api.github.com/repos/b055/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/b055/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/b055/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b055/beego/labels{/name}","releases_url":"https://api.github.com/repos/b055/beego/releases{/id}","deployments_url":"https://api.github.com/repos/b055/beego/deployments","created_at":"2016-01-08T18:55:58Z","updated_at":"2016-04-02T16:08:09Z","pushed_at":"2016-04-03T15:00:31Z","git_url":"git://github.com/b055/beego.git","ssh_url":"git@github.com:b055/beego.git","clone_url":"https://github.com/b055/beego.git","svn_url":"https://github.com/b055/beego","homepage":"beego.me","size":3732,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"astaxie:develop","ref":"develop","sha":"ebdf4412b30c71478845c55edd4f95fcf24391c5","user":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"repo":{"id":3577919,"name":"beego","full_name":"astaxie/beego","owner":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astaxie/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":false,"url":"https://api.github.com/repos/astaxie/beego","forks_url":"https://api.github.com/repos/astaxie/beego/forks","keys_url":"https://api.github.com/repos/astaxie/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astaxie/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astaxie/beego/teams","hooks_url":"https://api.github.com/repos/astaxie/beego/hooks","issue_events_url":"https://api.github.com/repos/astaxie/beego/issues/events{/number}","events_url":"https://api.github.com/repos/astaxie/beego/events","assignees_url":"https://api.github.com/repos/astaxie/beego/assignees{/user}","branches_url":"https://api.github.com/repos/astaxie/beego/branches{/branch}","tags_url":"https://api.github.com/repos/astaxie/beego/tags","blobs_url":"https://api.github.com/repos/astaxie/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astaxie/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astaxie/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/astaxie/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/astaxie/beego/languages","stargazers_url":"https://api.github.com/repos/astaxie/beego/stargazers","contributors_url":"https://api.github.com/repos/astaxie/beego/contributors","subscribers_url":"https://api.github.com/repos/astaxie/beego/subscribers","subscription_url":"https://api.github.com/repos/astaxie/beego/subscription","commits_url":"https://api.github.com/repos/astaxie/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/astaxie/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/astaxie/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/astaxie/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/astaxie/beego/contents/{+path}","compare_url":"https://api.github.com/repos/astaxie/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astaxie/beego/merges","archive_url":"https://api.github.com/repos/astaxie/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astaxie/beego/downloads","issues_url":"https://api.github.com/repos/astaxie/beego/issues{/number}","pulls_url":"https://api.github.com/repos/astaxie/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/astaxie/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/astaxie/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astaxie/beego/labels{/name}","releases_url":"https://api.github.com/repos/astaxie/beego/releases{/id}","deployments_url":"https://api.github.com/repos/astaxie/beego/deployments","created_at":"2012-02-29T02:32:08Z","updated_at":"2016-04-05T19:14:01Z","pushed_at":"2016-04-05T07:38:48Z","git_url":"git://github.com/astaxie/beego.git","ssh_url":"git@github.com:astaxie/beego.git","clone_url":"https://github.com/astaxie/beego.git","svn_url":"https://github.com/astaxie/beego","homepage":"beego.me","size":8405,"stargazers_count":6701,"watchers_count":6701,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1658,"mirror_url":null,"open_issues_count":200,"forks":1658,"open_issues":200,"watchers":6701,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1856"},"html":{"href":"https://github.com/astaxie/beego/pull/1856"},"issue":{"href":"https://api.github.com/repos/astaxie/beego/issues/1856"},"comments":{"href":"https://api.github.com/repos/astaxie/beego/issues/1856/comments"},"review_comments":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1856/comments"},"review_comment":{"href":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1856/commits"},"statuses":{"href":"https://api.github.com/repos/astaxie/beego/statuses/d49c7f96cb746ea2c6ce74badd92b7357d86d616"}}}}