-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to edit or update a table #295
Comments
with live DynamoDB you can edit some things, especially GSIs and RCUs/WCUs. Yet local dynamodb is not live database, it seems to be based on sql and mimics DynamoDB APIs so you could develop/run tests without hitting real thing. So no, it's not "anti-pattern" while apps do evolve and GSI/througoutput and some other settings may require changes over time even on live table. I would love to see option to update or at least re-create from existing table new table. When you need to change some GSI and because of that now need to re-create full table is frustrating. p.s. Why said seems like local dynamodb based on sql? Here are logs from from dynamo docker: |
you can run following command to create GSI2 in your local db. after running following command with updated details (name and keys names) you can look into
|
Issue:
I want to update or edit a table to add a new index, instead of re-creating a new table with no data.
The text was updated successfully, but these errors were encountered: