stevearc / flywheel

Object mapper for Amazon's DynamoDB
MIT License
128 stars 25 forks source link

engine.create_schema() doesn't add newly added global indexes for existing tables. #52

Closed ls-aron-kyle closed 7 years ago

ls-aron-kyle commented 8 years ago

It's possible this might be better accomplished with a new engine.update_schema() function.

dynamo3 already has the describe() and update_table() functions required. It's just a matter to doing a diff between what global indexes should be there and which ones shouldn't.

stevearc commented 7 years ago

Fixed by https://github.com/stevearc/flywheel/pull/53 (Thanks for the PR!) Released in 0.5.1