Skip to content
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

Migrations - support modifications to provisioned throughput of a table #17

Open
darrenklein opened this issue Mar 29, 2019 · 1 comment
Labels
to-do Features/tasks that we'd like to add to the adapter.

Comments

@darrenklein
Copy link
Contributor

darrenklein commented Mar 29, 2019

We currently support modifications to the provisioned throughput of a global secondary index via the following migration syntax:

   alter table(:cat) do
      modify :name, :string, provisioned_throughput: [3,2]
    end

however, we do not support the ability to modify the throughput of a table. The syntax should probably be something like

    alter table(:cat, options: [
        provisioned_throughput: [2,2]
      ]) do
    end
@darrenklein darrenklein added the to-do Features/tasks that we'd like to add to the adapter. label Mar 29, 2019
@darrenklein
Copy link
Contributor Author

More broadly, we need to have a way of supporting changes to a table's :options when there are no indexes being operated on - I haven't looked too deeply into this, but I'm pretty sure nothing happens due to the empty do end. This seems to be the case when attempting to update a table's billing mode, too, etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-do Features/tasks that we'd like to add to the adapter.
Projects
None yet
Development

No branches or pull requests

1 participant