aws / aws-sdk-ruby-record

Official repository for the aws-record gem, an abstraction for Amazon DynamoDB.
Apache License 2.0
318 stars 41 forks source link

TTL support #84

Closed awood45 closed 6 years ago

awood45 commented 6 years ago

Adds :ttl_attribute to the TableConfig DSL. When used with epoch_time_attr attributes or other attributes stored as epoch time, your TableConfig migrations will enable TTL on your DynamoDB table, and will use your specified attribute as the TTL attribute.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.1%) to 97.474% when pulling 2e882422b921970d3c3cd56b123f93f064ab77ed on ttl-support into 721db050de213988f474ccd5b00986107e8903be on master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.1%) to 97.474% when pulling 2e882422b921970d3c3cd56b123f93f064ab77ed on ttl-support into 721db050de213988f474ccd5b00986107e8903be on master.