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.
2 parents 5e12d93 + 9ebc20e commit b15f3eeCopy full SHA for b15f3ee
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