From 05740acd9eaaf4d50b9eea3225994742a4bf967c Mon Sep 17 00:00:00 2001 From: Jason Park <93040528+JasonNotJson@users.noreply.github.com> Date: Fri, 17 Mar 2023 00:10:30 +0900 Subject: [PATCH] fix: establishing table (#252) --- lib/constructs/persistence/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constructs/persistence/database.ts b/lib/constructs/persistence/database.ts index eea20643a..08267877a 100644 --- a/lib/constructs/persistence/database.ts +++ b/lib/constructs/persistence/database.ts @@ -94,7 +94,7 @@ export class DynamoDatabase extends Construct { encryption: dynamodb.TableEncryption.DEFAULT, removalPolicy: RemovalPolicy.RETAIN, sortKey: { name: 'created_at', type: dynamodb.AttributeType.STRING }, - tableName: 'forum-threads', + tableName: 'forum-thread', readCapacity: 15, writeCapacity: 15, pointInTimeRecovery: true,