@interncom/diplomatic 0.0.59 → 0.0.60
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/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11775,7 +11775,7 @@ var entityTableName = "entities";
|
|
|
11775
11775
|
var typeIndexName = "entity_type_created_at";
|
|
11776
11776
|
var typeGroupIndexName = "entity_type_group_id";
|
|
11777
11777
|
var typeParentIndexName = "entity_type_parent_id";
|
|
11778
|
-
var db2 = await openDB("db",
|
|
11778
|
+
var db2 = await openDB("db", 9, {
|
|
11779
11779
|
upgrade(db3, prevVersion, currVersion, tx) {
|
|
11780
11780
|
if (!db3.objectStoreNames.contains(entityTableName)) {
|
|
11781
11781
|
const store2 = db3.createObjectStore(entityTableName, {
|
|
@@ -11795,7 +11795,7 @@ var db2 = await openDB("db", 8, {
|
|
|
11795
11795
|
});
|
|
11796
11796
|
}
|
|
11797
11797
|
if (!store.indexNames.contains(typeParentIndexName)) {
|
|
11798
|
-
store.createIndex(
|
|
11798
|
+
store.createIndex(typeParentIndexName, ["type", "pid"], {
|
|
11799
11799
|
unique: false
|
|
11800
11800
|
});
|
|
11801
11801
|
}
|