Skip to content

Commit b15f3ee

Browse files
authored
Merge pull request #102 from valdemon/v1
Issue #100 patch
2 parents 5e12d93 + 9ebc20e commit b15f3ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ class ServerlessDynamodbLocal {
197197

198198
createTable(dynamodb, migration) {
199199
return new BbPromise((resolve, reject) => {
200+
if (migration.StreamSpecification && migration.StreamSpecification.StreamViewType) {
201+
migration.StreamSpecification.StreamEnabled = true;
202+
}
200203
dynamodb.raw.createTable(migration, (err) => {
201204
if (err) {
202205
this.serverlessLog("DynamoDB - Error - ", err);

0 commit comments

Comments
 (0)