Skip to content

Commit

Permalink
Merge pull request #85 from projectmovio/remove-old-lsi
Browse files Browse the repository at this point in the history
Remove old unused LSI
  • Loading branch information
fulder authored Oct 26, 2021
2 parents 4c361bf + e0bb926 commit acc775b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ htmlcov/
build/
cdk.out/

scripts/1001_list
scripts/1001_list

scripts/*
4 changes: 0 additions & 4 deletions deploy/lib/watch_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def _create_tables(self):
sort_key=Attribute(name="item_id", type=AttributeType.STRING),
billing_mode=BillingMode.PAY_PER_REQUEST,
)
self.watch_history_table.add_local_secondary_index(
sort_key=Attribute(name="client_id", type=AttributeType.STRING),
index_name="client_id"
)
self.watch_history_table.add_local_secondary_index(
sort_key=Attribute(name="rating", type=AttributeType.NUMBER),
index_name="rating"
Expand Down

0 comments on commit acc775b

Please sign in to comment.