|7eter l-|. l3oling

Results 371 comments of |7eter l-|. l3oling

If **losing all your data** is possible you can delete and recreate. When recreated it will be created according to the *current* class definition, including indexes. ``` Dynamoid.adapter.delete_table(.table_name) .create_table ```...

Perhaps you did not notice the subtlety in the Readme. Your comment indicates you tested with `.create` and as the Readme currently states, this works. What the Readme says does...

@welkie Also feel free to make the Readme more clear in your PR, if you make one!

I am not sure what you are asking. I don't think any of them have integration directly with Dynamoid, though it may be possible to integrate them. I haven't used...

Oh, I see. You would need to create an adapter for any admin tool, in the same way you would create an adapter for any other non-ActiveRecord data source. Like...

Ouch. I am doing the same thing for sharding (one shard for each environment). However I only use tables with global secondary index, so I suppose I haven't seen this...

@andrykonchin Additionally, I am still seeing this in the readme: ``` find_all_by_secondary_index( { dynamo_primary_key_column_name => dynamo_primary_key_value }, # The signature of find_all_by_secondary_index is ugly, so must be an explicit hash...

@andrykonchin That is literally the only method I use in the gem, so I need to figure out how to migrate my code.

@fleshins You'll need this if/when you upgrade to Dynamoid v3!

Thanks for writing that up @richardhsu ! Very insightful. I have made this into a [basic intro wiki](https://github.com/Dynamoid/Dynamoid/wiki).