{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/4866","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/4866/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/4866/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/4866/events","html_url":"https://github.com/influxdb/influxdb/pull/4866","id":118189450,"number":4866,"title":"Added support for configurable default retention policy on database creation","user":{"login":"pires","id":1752631,"avatar_url":"https://avatars.githubusercontent.com/u/1752631?v=3","gravatar_id":"","url":"https://api.github.com/users/pires","html_url":"https://github.com/pires","followers_url":"https://api.github.com/users/pires/followers","following_url":"https://api.github.com/users/pires/following{/other_user}","gists_url":"https://api.github.com/users/pires/gists{/gist_id}","starred_url":"https://api.github.com/users/pires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pires/subscriptions","organizations_url":"https://api.github.com/users/pires/orgs","repos_url":"https://api.github.com/users/pires/repos","events_url":"https://api.github.com/users/pires/events{/privacy}","received_events_url":"https://api.github.com/users/pires/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-21T10:56:41Z","updated_at":"2015-11-23T15:56:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdb/influxdb/pulls/4866","html_url":"https://github.com/influxdb/influxdb/pull/4866","diff_url":"https://github.com/influxdb/influxdb/pull/4866.diff","patch_url":"https://github.com/influxdb/influxdb/pull/4866.patch"},"body":"Adds support for `CREATE DATABASE [IF NOT EXISTS] NOAA_water_database [ WITH RETENTION 24hr ]`.\r\n\r\n- [ ] CHANGELOG.md updated\r\n- [x] Rebased/mergable\r\n- [x] Tests pass\r\n- [x] Sign [CLA](http://influxdb.com/community/cla.html)\r\n\r\nFixes #2676"},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/158977773","html_url":"https://github.com/influxdb/influxdb/pull/4866#issuecomment-158977773","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/4866","id":158977773,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T15:56:51Z","updated_at":"2015-11-23T15:56:51Z","body":"Perhaps just a new call `CreateDatabaseWithPolicy()`? Would that help? I say this because we tend to do this in other code (add a new function instead of changing signatures of existing functions)."}}