dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

AddEmailConfirmation#change

When using the methods "add_concurrent_index", "remove_concurrent_index" or
"add_column_with_default" you must disable the use of transactions
as these methods can not run in an existing transaction.
When using "add_concurrent_index" or "remove_concurrent_index" methods make sure
that either of them is the _only_ method called in the migration,
any other changes should go in a separate migration.
This ensures that upon failure _only_ the index creation or removing fails
and can be retried or reverted easily.

To disable transactions uncomment the following line and remove these
comments:
disable_ddl_transaction!

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AddEmailConfirmation-change-for-pr


# Commit to git

git add git commit -m "better docs for AddEmailConfirmation#change"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-AddEmailConfirmation-change-for-pr

hub pull-request


# Celebrate!