serverless-stack-demo-api
serverless-stack-demo-api copied to clipboard
DynamoDB Schema
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 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.