DynamoDB Dynomite Migrations Time to Live

Here’s a migration example that enables time to live.

class UpdatePosts < Dynomite::Migration
  def up
    update_time_to_live(:posts, enabled: true, attribute_name: "ttl")
  end
end