@hot-updater/postgres 1.2.0-rc.41 → 1.2.0-rc.43

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/sql/bundles.sql +2 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/postgres",
3
3
  "type": "module",
4
- "version": "1.2.0-rc.41",
4
+ "version": "1.2.0-rc.43",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
@@ -34,9 +34,9 @@
34
34
  "dependencies": {
35
35
  "kysely": "0.28.17",
36
36
  "pg": "8.13.1",
37
- "@hot-updater/server": "1.2.0-rc.41",
38
- "@hot-updater/plugin-core": "1.2.0-rc.41",
39
- "@hot-updater/protocol": "1.2.0-rc.41"
37
+ "@hot-updater/protocol": "1.2.0-rc.43",
38
+ "@hot-updater/plugin-core": "1.2.0-rc.43",
39
+ "@hot-updater/server": "1.2.0-rc.43"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@electric-sql/pglite": "0.4.1",
@@ -45,7 +45,7 @@
45
45
  "camelcase-keys": "^9.1.3",
46
46
  "kysely-pglite-dialect": "1.2.0",
47
47
  "pg-minify": "^1.6.5",
48
- "@hot-updater/test-utils": "1.2.0-rc.41"
48
+ "@hot-updater/test-utils": "1.2.0-rc.43"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsdown",
package/sql/bundles.sql CHANGED
@@ -40,6 +40,8 @@ CREATE INDEX IF NOT EXISTS "native_builds_byScope" ON "native_builds" ("scope_ke
40
40
 
41
41
  CREATE INDEX IF NOT EXISTS "native_builds_byBuildKey" ON "native_builds" ("scope_key", "build_key", "id");
42
42
 
43
+ CREATE INDEX IF NOT EXISTS "native_builds_byScopeKind" ON "native_builds" ("scope_key", "artifact_kind", "id");
44
+
43
45
  CREATE UNIQUE INDEX IF NOT EXISTS "native_builds_byStoreBuild" ON "native_builds" ("store_build_scope_key");
44
46
 
45
47
  CREATE INDEX IF NOT EXISTS "native_builds_byChannel" ON "native_builds" ("channel_id", "id");