{"action":"created","comment":{"url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/comments/68617768","id":68617768,"diff_hunk":"@@ -99,6 +99,23 @@ Example changelog.xml (if you place your schema changelogs in `conf/liquibase/sc\n </databaseChangeLog>\n ```\n \n+### Using contexts\n+\n+Liquibase contexts can be used to maintain a different set of change sets for different environments or uses.  For example, you may have one set to maintain the production schema \n+and one set to maintain the test schema, along with a small set of test data\n+\n+Context is an attribute of the change set\n+```xml\n+<changeSet id=\"2\" author=\"bob\" context=\"test\">\n+        ...\n+</changeSet>\n+```\n+\n+To run the \"test\" context only, add to your liquibase configuration in application.conf\n+```\n+contexts = [\"test\"]","path":"README.md","position":null,"original_position":18,"commit_id":"8f7614d75ad2e42cba69e8f30fb598208f8252bc","original_commit_id":"1dee2c75c1c344cb93697565927aaa5dd62fbe0b","user":{"login":"davidschneider","id":569986,"avatar_url":"https://avatars.githubusercontent.com/u/569986?v=3","gravatar_id":"","url":"https://api.github.com/users/davidschneider","html_url":"https://github.com/davidschneider","followers_url":"https://api.github.com/users/davidschneider/followers","following_url":"https://api.github.com/users/davidschneider/following{/other_user}","gists_url":"https://api.github.com/users/davidschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/davidschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidschneider/subscriptions","organizations_url":"https://api.github.com/users/davidschneider/orgs","repos_url":"https://api.github.com/users/davidschneider/repos","events_url":"https://api.github.com/users/davidschneider/events{/privacy}","received_events_url":"https://api.github.com/users/davidschneider/received_events","type":"User","site_admin":false},"body":"right.  it was implicit in that the description says add to liquibase configuration but i made it explicit","created_at":"2016-06-27T17:19:32Z","updated_at":"2016-06-27T17:19:32Z","html_url":"https://github.com/Ticketfly/play-liquibase/pull/9#discussion_r68617768","pull_request_url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/comments/68617768"},"html":{"href":"https://github.com/Ticketfly/play-liquibase/pull/9#discussion_r68617768"},"pull_request":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9","id":75026483,"html_url":"https://github.com/Ticketfly/play-liquibase/pull/9","diff_url":"https://github.com/Ticketfly/play-liquibase/pull/9.diff","patch_url":"https://github.com/Ticketfly/play-liquibase/pull/9.patch","issue_url":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/9","number":9,"state":"open","locked":false,"title":"enable contexts","user":{"login":"davidschneider","id":569986,"avatar_url":"https://avatars.githubusercontent.com/u/569986?v=3","gravatar_id":"","url":"https://api.github.com/users/davidschneider","html_url":"https://github.com/davidschneider","followers_url":"https://api.github.com/users/davidschneider/followers","following_url":"https://api.github.com/users/davidschneider/following{/other_user}","gists_url":"https://api.github.com/users/davidschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/davidschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidschneider/subscriptions","organizations_url":"https://api.github.com/users/davidschneider/orgs","repos_url":"https://api.github.com/users/davidschneider/repos","events_url":"https://api.github.com/users/davidschneider/events{/privacy}","received_events_url":"https://api.github.com/users/davidschneider/received_events","type":"User","site_admin":false},"body":"allows optional use of contexts by adding to liquibase config like\r\n\r\ncontexts = [\"all\", \"test\"]","created_at":"2016-06-23T21:01:02Z","updated_at":"2016-06-27T17:19:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf6b2ce9e4638f802c4932a20f9b954ef7b7f1cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/9/comments","statuses_url":"https://api.github.com/repos/Ticketfly/play-liquibase/statuses/8f7614d75ad2e42cba69e8f30fb598208f8252bc","head":{"label":"davidschneider:master","ref":"master","sha":"8f7614d75ad2e42cba69e8f30fb598208f8252bc","user":{"login":"davidschneider","id":569986,"avatar_url":"https://avatars.githubusercontent.com/u/569986?v=3","gravatar_id":"","url":"https://api.github.com/users/davidschneider","html_url":"https://github.com/davidschneider","followers_url":"https://api.github.com/users/davidschneider/followers","following_url":"https://api.github.com/users/davidschneider/following{/other_user}","gists_url":"https://api.github.com/users/davidschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/davidschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidschneider/subscriptions","organizations_url":"https://api.github.com/users/davidschneider/orgs","repos_url":"https://api.github.com/users/davidschneider/repos","events_url":"https://api.github.com/users/davidschneider/events{/privacy}","received_events_url":"https://api.github.com/users/davidschneider/received_events","type":"User","site_admin":false},"repo":{"id":61812630,"name":"play-liquibase","full_name":"davidschneider/play-liquibase","owner":{"login":"davidschneider","id":569986,"avatar_url":"https://avatars.githubusercontent.com/u/569986?v=3","gravatar_id":"","url":"https://api.github.com/users/davidschneider","html_url":"https://github.com/davidschneider","followers_url":"https://api.github.com/users/davidschneider/followers","following_url":"https://api.github.com/users/davidschneider/following{/other_user}","gists_url":"https://api.github.com/users/davidschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/davidschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidschneider/subscriptions","organizations_url":"https://api.github.com/users/davidschneider/orgs","repos_url":"https://api.github.com/users/davidschneider/repos","events_url":"https://api.github.com/users/davidschneider/events{/privacy}","received_events_url":"https://api.github.com/users/davidschneider/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidschneider/play-liquibase","description":"Play Liquibase Module","fork":true,"url":"https://api.github.com/repos/davidschneider/play-liquibase","forks_url":"https://api.github.com/repos/davidschneider/play-liquibase/forks","keys_url":"https://api.github.com/repos/davidschneider/play-liquibase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidschneider/play-liquibase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidschneider/play-liquibase/teams","hooks_url":"https://api.github.com/repos/davidschneider/play-liquibase/hooks","issue_events_url":"https://api.github.com/repos/davidschneider/play-liquibase/issues/events{/number}","events_url":"https://api.github.com/repos/davidschneider/play-liquibase/events","assignees_url":"https://api.github.com/repos/davidschneider/play-liquibase/assignees{/user}","branches_url":"https://api.github.com/repos/davidschneider/play-liquibase/branches{/branch}","tags_url":"https://api.github.com/repos/davidschneider/play-liquibase/tags","blobs_url":"https://api.github.com/repos/davidschneider/play-liquibase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidschneider/play-liquibase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidschneider/play-liquibase/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidschneider/play-liquibase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidschneider/play-liquibase/statuses/{sha}","languages_url":"https://api.github.com/repos/davidschneider/play-liquibase/languages","stargazers_url":"https://api.github.com/repos/davidschneider/play-liquibase/stargazers","contributors_url":"https://api.github.com/repos/davidschneider/play-liquibase/contributors","subscribers_url":"https://api.github.com/repos/davidschneider/play-liquibase/subscribers","subscription_url":"https://api.github.com/repos/davidschneider/play-liquibase/subscription","commits_url":"https://api.github.com/repos/davidschneider/play-liquibase/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidschneider/play-liquibase/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidschneider/play-liquibase/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidschneider/play-liquibase/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidschneider/play-liquibase/contents/{+path}","compare_url":"https://api.github.com/repos/davidschneider/play-liquibase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidschneider/play-liquibase/merges","archive_url":"https://api.github.com/repos/davidschneider/play-liquibase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidschneider/play-liquibase/downloads","issues_url":"https://api.github.com/repos/davidschneider/play-liquibase/issues{/number}","pulls_url":"https://api.github.com/repos/davidschneider/play-liquibase/pulls{/number}","milestones_url":"https://api.github.com/repos/davidschneider/play-liquibase/milestones{/number}","notifications_url":"https://api.github.com/repos/davidschneider/play-liquibase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidschneider/play-liquibase/labels{/name}","releases_url":"https://api.github.com/repos/davidschneider/play-liquibase/releases{/id}","deployments_url":"https://api.github.com/repos/davidschneider/play-liquibase/deployments","created_at":"2016-06-23T14:42:10Z","updated_at":"2016-06-23T14:42:10Z","pushed_at":"2016-06-27T17:18:07Z","git_url":"git://github.com/davidschneider/play-liquibase.git","ssh_url":"git@github.com:davidschneider/play-liquibase.git","clone_url":"https://github.com/davidschneider/play-liquibase.git","svn_url":"https://github.com/davidschneider/play-liquibase","homepage":"","size":26,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"Ticketfly:master","ref":"master","sha":"12ede0dda5e3798c66c677156ec293ab10c82c52","user":{"login":"Ticketfly","id":600878,"avatar_url":"https://avatars.githubusercontent.com/u/600878?v=3","gravatar_id":"","url":"https://api.github.com/users/Ticketfly","html_url":"https://github.com/Ticketfly","followers_url":"https://api.github.com/users/Ticketfly/followers","following_url":"https://api.github.com/users/Ticketfly/following{/other_user}","gists_url":"https://api.github.com/users/Ticketfly/gists{/gist_id}","starred_url":"https://api.github.com/users/Ticketfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ticketfly/subscriptions","organizations_url":"https://api.github.com/users/Ticketfly/orgs","repos_url":"https://api.github.com/users/Ticketfly/repos","events_url":"https://api.github.com/users/Ticketfly/events{/privacy}","received_events_url":"https://api.github.com/users/Ticketfly/received_events","type":"Organization","site_admin":false},"repo":{"id":37614288,"name":"play-liquibase","full_name":"Ticketfly/play-liquibase","owner":{"login":"Ticketfly","id":600878,"avatar_url":"https://avatars.githubusercontent.com/u/600878?v=3","gravatar_id":"","url":"https://api.github.com/users/Ticketfly","html_url":"https://github.com/Ticketfly","followers_url":"https://api.github.com/users/Ticketfly/followers","following_url":"https://api.github.com/users/Ticketfly/following{/other_user}","gists_url":"https://api.github.com/users/Ticketfly/gists{/gist_id}","starred_url":"https://api.github.com/users/Ticketfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ticketfly/subscriptions","organizations_url":"https://api.github.com/users/Ticketfly/orgs","repos_url":"https://api.github.com/users/Ticketfly/repos","events_url":"https://api.github.com/users/Ticketfly/events{/privacy}","received_events_url":"https://api.github.com/users/Ticketfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ticketfly/play-liquibase","description":"Play Liquibase Module","fork":false,"url":"https://api.github.com/repos/Ticketfly/play-liquibase","forks_url":"https://api.github.com/repos/Ticketfly/play-liquibase/forks","keys_url":"https://api.github.com/repos/Ticketfly/play-liquibase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ticketfly/play-liquibase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ticketfly/play-liquibase/teams","hooks_url":"https://api.github.com/repos/Ticketfly/play-liquibase/hooks","issue_events_url":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/events{/number}","events_url":"https://api.github.com/repos/Ticketfly/play-liquibase/events","assignees_url":"https://api.github.com/repos/Ticketfly/play-liquibase/assignees{/user}","branches_url":"https://api.github.com/repos/Ticketfly/play-liquibase/branches{/branch}","tags_url":"https://api.github.com/repos/Ticketfly/play-liquibase/tags","blobs_url":"https://api.github.com/repos/Ticketfly/play-liquibase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ticketfly/play-liquibase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ticketfly/play-liquibase/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ticketfly/play-liquibase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ticketfly/play-liquibase/statuses/{sha}","languages_url":"https://api.github.com/repos/Ticketfly/play-liquibase/languages","stargazers_url":"https://api.github.com/repos/Ticketfly/play-liquibase/stargazers","contributors_url":"https://api.github.com/repos/Ticketfly/play-liquibase/contributors","subscribers_url":"https://api.github.com/repos/Ticketfly/play-liquibase/subscribers","subscription_url":"https://api.github.com/repos/Ticketfly/play-liquibase/subscription","commits_url":"https://api.github.com/repos/Ticketfly/play-liquibase/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ticketfly/play-liquibase/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ticketfly/play-liquibase/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ticketfly/play-liquibase/contents/{+path}","compare_url":"https://api.github.com/repos/Ticketfly/play-liquibase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ticketfly/play-liquibase/merges","archive_url":"https://api.github.com/repos/Ticketfly/play-liquibase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ticketfly/play-liquibase/downloads","issues_url":"https://api.github.com/repos/Ticketfly/play-liquibase/issues{/number}","pulls_url":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls{/number}","milestones_url":"https://api.github.com/repos/Ticketfly/play-liquibase/milestones{/number}","notifications_url":"https://api.github.com/repos/Ticketfly/play-liquibase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ticketfly/play-liquibase/labels{/name}","releases_url":"https://api.github.com/repos/Ticketfly/play-liquibase/releases{/id}","deployments_url":"https://api.github.com/repos/Ticketfly/play-liquibase/deployments","created_at":"2015-06-17T18:48:30Z","updated_at":"2016-04-25T11:12:36Z","pushed_at":"2016-06-27T17:18:07Z","git_url":"git://github.com/Ticketfly/play-liquibase.git","ssh_url":"git@github.com:Ticketfly/play-liquibase.git","clone_url":"https://github.com/Ticketfly/play-liquibase.git","svn_url":"https://github.com/Ticketfly/play-liquibase","homepage":"","size":26,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9"},"html":{"href":"https://github.com/Ticketfly/play-liquibase/pull/9"},"issue":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/9"},"comments":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Ticketfly/play-liquibase/statuses/8f7614d75ad2e42cba69e8f30fb598208f8252bc"}}}}
{"actor":{"display_login":"davidschneider"}}