{"action":"opened","number":76,"pull_request":{"url":"https://api.github.com/repos/golang-migrate/migrate/pulls/76","id":201980594,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxOTgwNTk0","html_url":"https://github.com/golang-migrate/migrate/pull/76","diff_url":"https://github.com/golang-migrate/migrate/pull/76.diff","patch_url":"https://github.com/golang-migrate/migrate/pull/76.patch","issue_url":"https://api.github.com/repos/golang-migrate/migrate/issues/76","number":76,"state":"open","locked":false,"title":"Support for multiple statements in Cassandra cql migration files","user":{"login":"agquick","id":160655,"node_id":"MDQ6VXNlcjE2MDY1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/160655?v=4","gravatar_id":"","url":"https://api.github.com/users/agquick","html_url":"https://github.com/agquick","followers_url":"https://api.github.com/users/agquick/followers","following_url":"https://api.github.com/users/agquick/following{/other_user}","gists_url":"https://api.github.com/users/agquick/gists{/gist_id}","starred_url":"https://api.github.com/users/agquick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agquick/subscriptions","organizations_url":"https://api.github.com/users/agquick/orgs","repos_url":"https://api.github.com/users/agquick/repos","events_url":"https://api.github.com/users/agquick/events{/privacy}","received_events_url":"https://api.github.com/users/agquick/received_events","type":"User","site_admin":false},"body":"Currently you cannot include multiple statements in the CQL migration files due to Cassandra only allowing 1 statement per query. This makes creating multiple tables or indices in a single migration difficult. This change splits the CQL migration script by a semi-colon and newline pattern, and iterates them 1 by 1, allowing multiple statements per migration.","created_at":"2018-07-17T15:25:59Z","updated_at":"2018-07-17T15:25:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/golang-migrate/migrate/pulls/76/commits","review_comments_url":"https://api.github.com/repos/golang-migrate/migrate/pulls/76/comments","review_comment_url":"https://api.github.com/repos/golang-migrate/migrate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/golang-migrate/migrate/issues/76/comments","statuses_url":"https://api.github.com/repos/golang-migrate/migrate/statuses/c4b81d1210830d40c7ab7bd2f22230e4223bc380","head":{"label":"agquick:master","ref":"master","sha":"c4b81d1210830d40c7ab7bd2f22230e4223bc380","user":{"login":"agquick","id":160655,"node_id":"MDQ6VXNlcjE2MDY1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/160655?v=4","gravatar_id":"","url":"https://api.github.com/users/agquick","html_url":"https://github.com/agquick","followers_url":"https://api.github.com/users/agquick/followers","following_url":"https://api.github.com/users/agquick/following{/other_user}","gists_url":"https://api.github.com/users/agquick/gists{/gist_id}","starred_url":"https://api.github.com/users/agquick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agquick/subscriptions","organizations_url":"https://api.github.com/users/agquick/orgs","repos_url":"https://api.github.com/users/agquick/repos","events_url":"https://api.github.com/users/agquick/events{/privacy}","received_events_url":"https://api.github.com/users/agquick/received_events","type":"User","site_admin":false},"repo":{"id":141300823,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMDA4MjM=","name":"migrate","full_name":"agquick/migrate","owner":{"login":"agquick","id":160655,"node_id":"MDQ6VXNlcjE2MDY1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/160655?v=4","gravatar_id":"","url":"https://api.github.com/users/agquick","html_url":"https://github.com/agquick","followers_url":"https://api.github.com/users/agquick/followers","following_url":"https://api.github.com/users/agquick/following{/other_user}","gists_url":"https://api.github.com/users/agquick/gists{/gist_id}","starred_url":"https://api.github.com/users/agquick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agquick/subscriptions","organizations_url":"https://api.github.com/users/agquick/orgs","repos_url":"https://api.github.com/users/agquick/repos","events_url":"https://api.github.com/users/agquick/events{/privacy}","received_events_url":"https://api.github.com/users/agquick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agquick/migrate","description":"Database migrations. CLI and Golang library.","fork":true,"url":"https://api.github.com/repos/agquick/migrate","forks_url":"https://api.github.com/repos/agquick/migrate/forks","keys_url":"https://api.github.com/repos/agquick/migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agquick/migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agquick/migrate/teams","hooks_url":"https://api.github.com/repos/agquick/migrate/hooks","issue_events_url":"https://api.github.com/repos/agquick/migrate/issues/events{/number}","events_url":"https://api.github.com/repos/agquick/migrate/events","assignees_url":"https://api.github.com/repos/agquick/migrate/assignees{/user}","branches_url":"https://api.github.com/repos/agquick/migrate/branches{/branch}","tags_url":"https://api.github.com/repos/agquick/migrate/tags","blobs_url":"https://api.github.com/repos/agquick/migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agquick/migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agquick/migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/agquick/migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agquick/migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/agquick/migrate/languages","stargazers_url":"https://api.github.com/repos/agquick/migrate/stargazers","contributors_url":"https://api.github.com/repos/agquick/migrate/contributors","subscribers_url":"https://api.github.com/repos/agquick/migrate/subscribers","subscription_url":"https://api.github.com/repos/agquick/migrate/subscription","commits_url":"https://api.github.com/repos/agquick/migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/agquick/migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/agquick/migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/agquick/migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/agquick/migrate/contents/{+path}","compare_url":"https://api.github.com/repos/agquick/migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agquick/migrate/merges","archive_url":"https://api.github.com/repos/agquick/migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agquick/migrate/downloads","issues_url":"https://api.github.com/repos/agquick/migrate/issues{/number}","pulls_url":"https://api.github.com/repos/agquick/migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/agquick/migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/agquick/migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agquick/migrate/labels{/name}","releases_url":"https://api.github.com/repos/agquick/migrate/releases{/id}","deployments_url":"https://api.github.com/repos/agquick/migrate/deployments","created_at":"2018-07-17T14:25:11Z","updated_at":"2018-07-17T15:20:10Z","pushed_at":"2018-07-17T15:20:08Z","git_url":"git://github.com/agquick/migrate.git","ssh_url":"git@github.com:agquick/migrate.git","clone_url":"https://github.com/agquick/migrate.git","svn_url":"https://github.com/agquick/migrate","homepage":"","size":591,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"golang-migrate:master","ref":"master","sha":"6bb3e494e544a6bba307308388e641393e7b4767","user":{"login":"golang-migrate","id":35595841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NTk1ODQx","avatar_url":"https://avatars0.githubusercontent.com/u/35595841?v=4","gravatar_id":"","url":"https://api.github.com/users/golang-migrate","html_url":"https://github.com/golang-migrate","followers_url":"https://api.github.com/users/golang-migrate/followers","following_url":"https://api.github.com/users/golang-migrate/following{/other_user}","gists_url":"https://api.github.com/users/golang-migrate/gists{/gist_id}","starred_url":"https://api.github.com/users/golang-migrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang-migrate/subscriptions","organizations_url":"https://api.github.com/users/golang-migrate/orgs","repos_url":"https://api.github.com/users/golang-migrate/repos","events_url":"https://api.github.com/users/golang-migrate/events{/privacy}","received_events_url":"https://api.github.com/users/golang-migrate/received_events","type":"Organization","site_admin":false},"repo":{"id":118105436,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgxMDU0MzY=","name":"migrate","full_name":"golang-migrate/migrate","owner":{"login":"golang-migrate","id":35595841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NTk1ODQx","avatar_url":"https://avatars0.githubusercontent.com/u/35595841?v=4","gravatar_id":"","url":"https://api.github.com/users/golang-migrate","html_url":"https://github.com/golang-migrate","followers_url":"https://api.github.com/users/golang-migrate/followers","following_url":"https://api.github.com/users/golang-migrate/following{/other_user}","gists_url":"https://api.github.com/users/golang-migrate/gists{/gist_id}","starred_url":"https://api.github.com/users/golang-migrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/golang-migrate/subscriptions","organizations_url":"https://api.github.com/users/golang-migrate/orgs","repos_url":"https://api.github.com/users/golang-migrate/repos","events_url":"https://api.github.com/users/golang-migrate/events{/privacy}","received_events_url":"https://api.github.com/users/golang-migrate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/golang-migrate/migrate","description":"Database migrations. CLI and Golang library.","fork":true,"url":"https://api.github.com/repos/golang-migrate/migrate","forks_url":"https://api.github.com/repos/golang-migrate/migrate/forks","keys_url":"https://api.github.com/repos/golang-migrate/migrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/golang-migrate/migrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/golang-migrate/migrate/teams","hooks_url":"https://api.github.com/repos/golang-migrate/migrate/hooks","issue_events_url":"https://api.github.com/repos/golang-migrate/migrate/issues/events{/number}","events_url":"https://api.github.com/repos/golang-migrate/migrate/events","assignees_url":"https://api.github.com/repos/golang-migrate/migrate/assignees{/user}","branches_url":"https://api.github.com/repos/golang-migrate/migrate/branches{/branch}","tags_url":"https://api.github.com/repos/golang-migrate/migrate/tags","blobs_url":"https://api.github.com/repos/golang-migrate/migrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/golang-migrate/migrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/golang-migrate/migrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/golang-migrate/migrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/golang-migrate/migrate/statuses/{sha}","languages_url":"https://api.github.com/repos/golang-migrate/migrate/languages","stargazers_url":"https://api.github.com/repos/golang-migrate/migrate/stargazers","contributors_url":"https://api.github.com/repos/golang-migrate/migrate/contributors","subscribers_url":"https://api.github.com/repos/golang-migrate/migrate/subscribers","subscription_url":"https://api.github.com/repos/golang-migrate/migrate/subscription","commits_url":"https://api.github.com/repos/golang-migrate/migrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/golang-migrate/migrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/golang-migrate/migrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/golang-migrate/migrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/golang-migrate/migrate/contents/{+path}","compare_url":"https://api.github.com/repos/golang-migrate/migrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/golang-migrate/migrate/merges","archive_url":"https://api.github.com/repos/golang-migrate/migrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/golang-migrate/migrate/downloads","issues_url":"https://api.github.com/repos/golang-migrate/migrate/issues{/number}","pulls_url":"https://api.github.com/repos/golang-migrate/migrate/pulls{/number}","milestones_url":"https://api.github.com/repos/golang-migrate/migrate/milestones{/number}","notifications_url":"https://api.github.com/repos/golang-migrate/migrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/golang-migrate/migrate/labels{/name}","releases_url":"https://api.github.com/repos/golang-migrate/migrate/releases{/id}","deployments_url":"https://api.github.com/repos/golang-migrate/migrate/deployments","created_at":"2018-01-19T09:30:58Z","updated_at":"2018-07-17T12:16:39Z","pushed_at":"2018-07-16T11:09:32Z","git_url":"git://github.com/golang-migrate/migrate.git","ssh_url":"git@github.com:golang-migrate/migrate.git","clone_url":"https://github.com/golang-migrate/migrate.git","svn_url":"https://github.com/golang-migrate/migrate","homepage":"","size":591,"stargazers_count":417,"watchers_count":417,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":48,"open_issues":25,"watchers":417,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/golang-migrate/migrate/pulls/76"},"html":{"href":"https://github.com/golang-migrate/migrate/pull/76"},"issue":{"href":"https://api.github.com/repos/golang-migrate/migrate/issues/76"},"comments":{"href":"https://api.github.com/repos/golang-migrate/migrate/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/golang-migrate/migrate/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/golang-migrate/migrate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/golang-migrate/migrate/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/golang-migrate/migrate/statuses/c4b81d1210830d40c7ab7bd2f22230e4223bc380"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"agquick"}}