Skip to content

Commit b219f83

Browse files
committed
Rename GSI from 'userIdDateIndex' to 'userIdCreatedAtIndex' for clarity
1 parent ed334bd commit b219f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/iac/backend-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class BackendStack extends cdk.Stack {
8787

8888
// Add GSI for querying by createdAt
8989
reportsTable.addGlobalSecondaryIndex({
90-
indexName: 'userIdDateIndex',
90+
indexName: 'userIdCreatedAtIndex',
9191
partitionKey: {
9292
name: 'userId',
9393
type: AttributeType.STRING,

0 commit comments

Comments
 (0)