For what I'm understanding, dynamodb has two ways for defining primary keys: Single primary keys that only use the partition key and composite keys that needs to specify both a partition key and a sort key.
The thing I'm stuck right now is that I'm not sure if for this case a users
table should have a single primary key or a composite.
Here for example says that a good example for a single primary key is the users table, but I'm not sure how true it is.