@live-change/framework 0.9.94 → 0.9.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/updaters/database.js +2 -3
- package/package.json +4 -4
package/lib/updaters/database.js
CHANGED
|
@@ -87,10 +87,9 @@ async function update(changes, service, app, force) {
|
|
|
87
87
|
code: functionCode,
|
|
88
88
|
parameters
|
|
89
89
|
})
|
|
90
|
-
const match = indexConfigClean === requiredConfig
|
|
91
|
-
console.log('ERROR INDEX MATCH', indexConfigClean, requiredConfig, "MATCH", match)
|
|
90
|
+
const match = indexConfigClean === requiredConfig
|
|
92
91
|
if(!match) {
|
|
93
|
-
console.log("INDEXES NOT MATCHING, DELETING AND RECREATING")
|
|
92
|
+
console.log("INDEXES NOT MATCHING, DELETING AND RECREATING", indexConfigClean, requiredConfig)
|
|
94
93
|
await dao.request(['database', 'deleteIndex'], database, indexName)
|
|
95
94
|
return await doCreateIndexIfNotExists(indexName, functionCode, parameters, storage)
|
|
96
95
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/framework",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.95",
|
|
4
4
|
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/live-change/live-change-stack",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@live-change/dao": "^0.9.
|
|
26
|
-
"@live-change/uid": "^0.9.
|
|
25
|
+
"@live-change/dao": "^0.9.95",
|
|
26
|
+
"@live-change/uid": "^0.9.95",
|
|
27
27
|
"typedoc": "0.28.3",
|
|
28
28
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
29
29
|
"typedoc-plugin-rename-defaults": "^0.7.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "cf88c48885ac39d5620129d659bfe192bf529c55"
|
|
32
32
|
}
|