diff --git a/lib/constructs/persistence/database.ts b/lib/constructs/persistence/database.ts index 3c203dd56..9ba3e9ca2 100644 --- a/lib/constructs/persistence/database.ts +++ b/lib/constructs/persistence/database.ts @@ -147,10 +147,10 @@ export class DynamoDatabase extends Construct { this.tables[Collection.ADS] = new dynamodb.Table( this, - 'dynamodb-abs-table', + 'dynamodb-ads-table', { partitionKey: { name: 'board_id', type: dynamodb.AttributeType.STRING }, - sortKey: { name: 'ads_id', type: dynamodb.AttributeType.STRING }, + sortKey: { name: 'ad_id', type: dynamodb.AttributeType.STRING }, billingMode: dynamodb.BillingMode.PROVISIONED, encryption: dynamodb.TableEncryption.DEFAULT, removalPolicy: RemovalPolicy.RETAIN,