{"action":"created","comment":{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/comments/74746620","id":74746620,"diff_hunk":"@@ -0,0 +1,80 @@\n+<?php\n+use Migrations\\AbstractMigration;\n+\n+class TinyAuthMultiSample extends AbstractMigration\n+{\n+    public function up()\n+    {\n+\n+        $this->table('roles')\n+            ->addColumn('name', 'string', [\n+                'default' => null,\n+                'limit' => 64,\n+                'null' => false,\n+            ])\n+            ->addColumn('description', 'string', [\n+                'default' => null,\n+                'limit' => 255,\n+                'null' => false,\n+            ])\n+            ->addColumn('alias', 'string', [\n+                'default' => null,\n+                'limit' => 20,\n+                'null' => false,\n+            ])\n+            ->addColumn('created', 'timestamp', [","path":"config/Migrations/20160815092405_TinyAuthMultiSample.php","position":null,"original_position":25,"commit_id":"9102932572d2a17db11b4acec2101bdb6d83c21c","original_commit_id":"a15067377686c761934157e3219ded96b8fcd651","user":{"login":"LubosRemplik","id":556169,"avatar_url":"https://avatars.githubusercontent.com/u/556169?v=3","gravatar_id":"","url":"https://api.github.com/users/LubosRemplik","html_url":"https://github.com/LubosRemplik","followers_url":"https://api.github.com/users/LubosRemplik/followers","following_url":"https://api.github.com/users/LubosRemplik/following{/other_user}","gists_url":"https://api.github.com/users/LubosRemplik/gists{/gist_id}","starred_url":"https://api.github.com/users/LubosRemplik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LubosRemplik/subscriptions","organizations_url":"https://api.github.com/users/LubosRemplik/orgs","repos_url":"https://api.github.com/users/LubosRemplik/repos","events_url":"https://api.github.com/users/LubosRemplik/events{/privacy}","received_events_url":"https://api.github.com/users/LubosRemplik/received_events","type":"User","site_admin":false},"body":"Using modified and datetime now, we can change later if needed.\r\nGood read about timestamp is here http://stackoverflow.com/questions/409286/should-i-use-field-datetime-or-timestamp","created_at":"2016-08-15T10:56:16Z","updated_at":"2016-08-15T10:56:16Z","html_url":"https://github.com/dereuromark/cakephp-tinyauth/pull/32#discussion_r74746620","pull_request_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/comments/74746620"},"html":{"href":"https://github.com/dereuromark/cakephp-tinyauth/pull/32#discussion_r74746620"},"pull_request":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32","id":81288957,"html_url":"https://github.com/dereuromark/cakephp-tinyauth/pull/32","diff_url":"https://github.com/dereuromark/cakephp-tinyauth/pull/32.diff","patch_url":"https://github.com/dereuromark/cakephp-tinyauth/pull/32.patch","issue_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/32","number":32,"state":"open","locked":false,"title":"Migrations multiple sample","user":{"login":"LubosRemplik","id":556169,"avatar_url":"https://avatars.githubusercontent.com/u/556169?v=3","gravatar_id":"","url":"https://api.github.com/users/LubosRemplik","html_url":"https://github.com/LubosRemplik","followers_url":"https://api.github.com/users/LubosRemplik/followers","following_url":"https://api.github.com/users/LubosRemplik/following{/other_user}","gists_url":"https://api.github.com/users/LubosRemplik/gists{/gist_id}","starred_url":"https://api.github.com/users/LubosRemplik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LubosRemplik/subscriptions","organizations_url":"https://api.github.com/users/LubosRemplik/orgs","repos_url":"https://api.github.com/users/LubosRemplik/repos","events_url":"https://api.github.com/users/LubosRemplik/events{/privacy}","received_events_url":"https://api.github.com/users/LubosRemplik/received_events","type":"User","site_admin":false},"body":"I think it would be nice to have migration there for quick start.","created_at":"2016-08-15T09:27:42Z","updated_at":"2016-08-15T10:56:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c7bea9dbe189fe06bb9790b9d8efe8695b1cc2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32/commits","review_comments_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32/comments","review_comment_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/32/comments","statuses_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/statuses/9102932572d2a17db11b4acec2101bdb6d83c21c","head":{"label":"LubosRemplik:master","ref":"master","sha":"9102932572d2a17db11b4acec2101bdb6d83c21c","user":{"login":"LubosRemplik","id":556169,"avatar_url":"https://avatars.githubusercontent.com/u/556169?v=3","gravatar_id":"","url":"https://api.github.com/users/LubosRemplik","html_url":"https://github.com/LubosRemplik","followers_url":"https://api.github.com/users/LubosRemplik/followers","following_url":"https://api.github.com/users/LubosRemplik/following{/other_user}","gists_url":"https://api.github.com/users/LubosRemplik/gists{/gist_id}","starred_url":"https://api.github.com/users/LubosRemplik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LubosRemplik/subscriptions","organizations_url":"https://api.github.com/users/LubosRemplik/orgs","repos_url":"https://api.github.com/users/LubosRemplik/repos","events_url":"https://api.github.com/users/LubosRemplik/events{/privacy}","received_events_url":"https://api.github.com/users/LubosRemplik/received_events","type":"User","site_admin":false},"repo":{"id":65719903,"name":"cakephp-tinyauth","full_name":"LubosRemplik/cakephp-tinyauth","owner":{"login":"LubosRemplik","id":556169,"avatar_url":"https://avatars.githubusercontent.com/u/556169?v=3","gravatar_id":"","url":"https://api.github.com/users/LubosRemplik","html_url":"https://github.com/LubosRemplik","followers_url":"https://api.github.com/users/LubosRemplik/followers","following_url":"https://api.github.com/users/LubosRemplik/following{/other_user}","gists_url":"https://api.github.com/users/LubosRemplik/gists{/gist_id}","starred_url":"https://api.github.com/users/LubosRemplik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LubosRemplik/subscriptions","organizations_url":"https://api.github.com/users/LubosRemplik/orgs","repos_url":"https://api.github.com/users/LubosRemplik/repos","events_url":"https://api.github.com/users/LubosRemplik/events{/privacy}","received_events_url":"https://api.github.com/users/LubosRemplik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LubosRemplik/cakephp-tinyauth","description":"CakePHP TinyAuth plugin for an easy and fast user authorization. Single or multi role. DB or INI file.","fork":true,"url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth","forks_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/forks","keys_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/teams","hooks_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/hooks","issue_events_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/issues/events{/number}","events_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/events","assignees_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/assignees{/user}","branches_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/branches{/branch}","tags_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/tags","blobs_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/statuses/{sha}","languages_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/languages","stargazers_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/stargazers","contributors_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/contributors","subscribers_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/subscribers","subscription_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/subscription","commits_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/contents/{+path}","compare_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/merges","archive_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/downloads","issues_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/issues{/number}","pulls_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/pulls{/number}","milestones_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/milestones{/number}","notifications_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/labels{/name}","releases_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/releases{/id}","deployments_url":"https://api.github.com/repos/LubosRemplik/cakephp-tinyauth/deployments","created_at":"2016-08-15T09:14:07Z","updated_at":"2016-08-15T09:14:08Z","pushed_at":"2016-08-15T10:55:24Z","git_url":"git://github.com/LubosRemplik/cakephp-tinyauth.git","ssh_url":"git@github.com:LubosRemplik/cakephp-tinyauth.git","clone_url":"https://github.com/LubosRemplik/cakephp-tinyauth.git","svn_url":"https://github.com/LubosRemplik/cakephp-tinyauth","homepage":"","size":3832,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"dereuromark:master","ref":"master","sha":"decc7f06a3a623bbd77a2794d31ef57282b71ce9","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"repo":{"id":24190137,"name":"cakephp-tinyauth","full_name":"dereuromark/cakephp-tinyauth","owner":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dereuromark/cakephp-tinyauth","description":"CakePHP TinyAuth plugin for an easy and fast user authorization. Single or multi role. DB or INI file.","fork":false,"url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth","forks_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/forks","keys_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/teams","hooks_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/hooks","issue_events_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/events{/number}","events_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/events","assignees_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/assignees{/user}","branches_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/branches{/branch}","tags_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/tags","blobs_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/statuses/{sha}","languages_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/languages","stargazers_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/stargazers","contributors_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/contributors","subscribers_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/subscribers","subscription_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/subscription","commits_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/contents/{+path}","compare_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/merges","archive_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/downloads","issues_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues{/number}","pulls_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls{/number}","milestones_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/milestones{/number}","notifications_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/labels{/name}","releases_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/releases{/id}","deployments_url":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/deployments","created_at":"2014-09-18T13:56:34Z","updated_at":"2016-08-03T06:21:42Z","pushed_at":"2016-08-15T10:55:24Z","git_url":"git://github.com/dereuromark/cakephp-tinyauth.git","ssh_url":"git@github.com:dereuromark/cakephp-tinyauth.git","clone_url":"https://github.com/dereuromark/cakephp-tinyauth.git","svn_url":"https://github.com/dereuromark/cakephp-tinyauth","homepage":"","size":3832,"stargazers_count":38,"watchers_count":38,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32"},"html":{"href":"https://github.com/dereuromark/cakephp-tinyauth/pull/32"},"issue":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/32"},"comments":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/dereuromark/cakephp-tinyauth/statuses/9102932572d2a17db11b4acec2101bdb6d83c21c"}}}}
{"actor":{"display_login":"LubosRemplik"}}