{"action":"created","issue":{"url":"https://api.github.com/repos/automategreen/dynamoose/issues/66","repository_url":"https://api.github.com/repos/automategreen/dynamoose","labels_url":"https://api.github.com/repos/automategreen/dynamoose/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/automategreen/dynamoose/issues/66/comments","events_url":"https://api.github.com/repos/automategreen/dynamoose/issues/66/events","html_url":"https://github.com/automategreen/dynamoose/issues/66","id":177489259,"number":66,"title":"Deploying new and modified indexes without having to delete and restore tables?","user":{"login":"reselbob","id":1110569,"avatar_url":"https://avatars.githubusercontent.com/u/1110569?v=3","gravatar_id":"","url":"https://api.github.com/users/reselbob","html_url":"https://github.com/reselbob","followers_url":"https://api.github.com/users/reselbob/followers","following_url":"https://api.github.com/users/reselbob/following{/other_user}","gists_url":"https://api.github.com/users/reselbob/gists{/gist_id}","starred_url":"https://api.github.com/users/reselbob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reselbob/subscriptions","organizations_url":"https://api.github.com/users/reselbob/orgs","repos_url":"https://api.github.com/users/reselbob/repos","events_url":"https://api.github.com/users/reselbob/events{/privacy}","received_events_url":"https://api.github.com/users/reselbob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T18:23:19Z","updated_at":"2016-09-17T20:22:15Z","closed_at":null,"body":"Hi:\r\n\r\nIt seems that whenever I add a new index to a model, or modify an index, I get errors in the console that say, to paraphrase, \"Index not in table\".\r\n\r\nThus, I nuke the table from AWS and start over.\r\n\r\nThis is OK for DEV and TEST, but won't do in PRODUCTION. \r\n\r\nTell me please what is the best practice for adding/modifying indexes in Dynamoose models that allow for deployment on existing tables in AWS?\r\n\r\nThanks in advance.\r\n\r\nBob"},"comment":{"url":"https://api.github.com/repos/automategreen/dynamoose/issues/comments/247805355","html_url":"https://github.com/automategreen/dynamoose/issues/66#issuecomment-247805355","issue_url":"https://api.github.com/repos/automategreen/dynamoose/issues/66","id":247805355,"user":{"login":"brandongoode","id":5034905,"avatar_url":"https://avatars.githubusercontent.com/u/5034905?v=3","gravatar_id":"","url":"https://api.github.com/users/brandongoode","html_url":"https://github.com/brandongoode","followers_url":"https://api.github.com/users/brandongoode/followers","following_url":"https://api.github.com/users/brandongoode/following{/other_user}","gists_url":"https://api.github.com/users/brandongoode/gists{/gist_id}","starred_url":"https://api.github.com/users/brandongoode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandongoode/subscriptions","organizations_url":"https://api.github.com/users/brandongoode/orgs","repos_url":"https://api.github.com/users/brandongoode/repos","events_url":"https://api.github.com/users/brandongoode/events{/privacy}","received_events_url":"https://api.github.com/users/brandongoode/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T20:22:15Z","updated_at":"2016-09-17T20:22:15Z","body":"Originally DynamoDB didn't let you add indexes, but the ability to add indexes has existed for 18 months now.  I really need to go back and add the logic (just short on time).  I have an open issues to add this: #11. \r\n\r\nFor now, you can go into the DynamoDB console and add the index manually.  "}}
{"actor":{"display_login":"brandongoode"}}