Skip to content

Commit

Permalink
Delete the leader email GSI.
Browse files Browse the repository at this point in the history
gh-530

It wasn't being used for anything anyway.

I need to delete it so I can recreate it with the correct PK.
  • Loading branch information
douglasnaphas committed Mar 25, 2024
1 parent 54ee8e8 commit 13bfa87
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions infra/lib/sedersTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ const sedersTable: (construct: Construct) => dynamodb.Table = (
},
projectionType: dynamodb.ProjectionType.ALL,
});
table.addGlobalSecondaryIndex({
indexName: schemaV2.LEADER_EMAIL_INDEX,
partitionKey: {
name: schemaV2.LEADER_EMAIL,
type: dynamodb.AttributeType.STRING,
},
sortKey: {
name: schema.TIMESTAMP,
type: dynamodb.AttributeType.STRING,
},
projectionType: dynamodb.ProjectionType.ALL,
});
// table.addGlobalSecondaryIndex({
// indexName: schemaV2.LEADER_EMAIL_INDEX,
// partitionKey: {
// name: schemaV2.LEADER_EMAIL,
// type: dynamodb.AttributeType.STRING,
// },
// sortKey: {
// name: schema.TIMESTAMP,
// type: dynamodb.AttributeType.STRING,
// },
// projectionType: dynamodb.ProjectionType.ALL,
// });
table.addGlobalSecondaryIndex({
indexName: schemaV2.PARTICIPANT_EMAIL_INDEX,
partitionKey: {
Expand Down

0 comments on commit 13bfa87

Please sign in to comment.