@live-change/framework 0.9.89 → 0.9.90
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 -1
- package/package.json +4 -4
package/lib/updaters/database.js
CHANGED
|
@@ -76,7 +76,8 @@ async function update(changes, service, app, force) {
|
|
|
76
76
|
await dao.requestWithSettings(indexRequestSettings, ['database', 'createIndex'], database, indexName,
|
|
77
77
|
functionCode, parameters, storage)
|
|
78
78
|
} catch(e) {
|
|
79
|
-
|
|
79
|
+
console.log('CREATE INDEX ERROR', e, "TOSTRING", (e.message ?? e).toString())
|
|
80
|
+
if((e.message ?? e).toString().includes("already exists")) {
|
|
80
81
|
const indexConfig = await dao.get(['database', 'indexConfig', database, indexName])
|
|
81
82
|
const requiredConfig = {
|
|
82
83
|
name: indexName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/framework",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.90",
|
|
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.90",
|
|
26
|
+
"@live-change/uid": "^0.9.90",
|
|
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": "d0236fff2ed21cc3e8067194b70f76bb0a252176"
|
|
32
32
|
}
|