sails-dynamodb
sails-dynamodb copied to clipboard
Getting ResourceNotFoundException when using Local Secondary Index
I'm trying to use Local Secondary Indexes by adding:
index: 'secondary'
To one of my fields (type 'integer'), unfortunately I'm getting the following error:
Error creating tables: { [ResourceNotFoundException: Requested resource not found: Table: test_table not found]
Without the index, the table is created, with it - the aforementioned error appears.
I recommend creating all your tables beforehand and not relying on the library to create your tables for you.