Skip to content

Commit

Permalink
fix: my new fix2 (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
LIEN-YUHSIANG authored Oct 12, 2023
1 parent 2d7ff6a commit 581eaff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/constructs/persistence/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 581eaff

Please sign in to comment.