keydb
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -134,3 +134,7 @@ var aws = require('aws-sdk'); | ||
} | ||
return db.createTable(schema); | ||
return db.tableExists(tableName).then(function (exists) { | ||
if (!exists) { | ||
return db.createTable(schema); | ||
} | ||
}); | ||
}; | ||
@@ -137,0 +141,0 @@ }; |
{ | ||
"name": "keydb", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Key/value data/query API to use on the server and in the browser.", | ||
@@ -5,0 +5,0 @@ "main": "index-server.js", |
73514
2248