serverless-stack-demo-api icon indicating copy to clipboard operation
serverless-stack-demo-api copied to clipboard

DynamoDB Schema

Open benswinburne opened this issue 8 years ago • 1 comments
trafficstars

Can you post the schema for the DynamoDB table or add it to serverless.yml please?

Looks as if you perhaps have a GSI on userId to make it work but it's unclear.

Thanks

benswinburne avatar Oct 17 '17 13:10 benswinburne

@benswinburne I'm not sure if you are following the tutorial attached to this repo but we walk through the steps to create the table here - https://serverless-stack.com/chapters/create-a-dynamodb-table.html

One of our readers also posted the schema version of this here - https://github.com/AnomalyInnovations/serverless-stack-com/issues/107#issue-242041358.

But yeah we don't have a GSI on the userId.

jayair avatar Oct 17 '17 17:10 jayair