We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e12d93 commit 9ebc20eCopy full SHA for 9ebc20e
index.js
@@ -197,6 +197,9 @@ class ServerlessDynamodbLocal {
197
198
createTable(dynamodb, migration) {
199
return new BbPromise((resolve, reject) => {
200
+ if (migration.StreamSpecification && migration.StreamSpecification.StreamViewType) {
201
+ migration.StreamSpecification.StreamEnabled = true;
202
+ }
203
dynamodb.raw.createTable(migration, (err) => {
204
if (err) {
205
this.serverlessLog("DynamoDB - Error - ", err);
0 commit comments