@powerhousedao/switchboard 5.2.0-staging.1 → 5.2.0-staging.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 5.2.0-staging.2 (2025-12-17)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **switchboard:** added skip db migrations flag ([cfd6a0479](https://github.com/powerhouse-inc/powerhouse/commit/cfd6a0479))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Frank
10
+
1
11
  ## 5.2.0-staging.1 (2025-12-17)
2
12
 
3
13
  This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
package/Dockerfile CHANGED
@@ -25,6 +25,7 @@ ENV PH_SWITCHBOARD_GUESTS_LIST="0x123,0x456"
25
25
  # Database
26
26
  ENV PH_SWITCHBOARD_DATABASE_URL="dev.db"
27
27
  ENV PH_SWITCHBOARD_REDIS_URL=""
28
+ ENV SKIP_DB_MIGRATIONS="false"
28
29
 
29
30
  # Heroku Workaround
30
31
  ENV PORT=4001
package/entrypoint.sh CHANGED
@@ -12,7 +12,7 @@ if [ ! -z "$PH_PACKAGES" ]; then
12
12
  fi
13
13
 
14
14
  # Check if DATABASE_URL starts with postgres and run Prisma db push
15
- if [ ! -z "$DATABASE_URL" ] && echo "$DATABASE_URL" | grep -q "^postgres"; then
15
+ if [ ! -z "$DATABASE_URL" ] && echo "$DATABASE_URL" | grep -q "^postgres" && [ "$SKIP_DB_MIGRATIONS" != "true" ]; then
16
16
  echo "[entrypoint] DATABASE_URL starts with postgres, running Prisma db push..."
17
17
  prisma db push --schema node_modules/document-drive/dist/prisma/schema.prisma --skip-generate
18
18
  fi
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/switchboard",
3
3
  "type": "module",
4
- "version": "5.2.0-staging.1",
4
+ "version": "5.2.0-staging.2",
5
5
  "main": "dist/src/index.js",
6
6
  "exports": {
7
7
  ".": {
@@ -42,12 +42,12 @@
42
42
  "kysely-pglite-dialect": "^1.1.1",
43
43
  "pg": "^8.13.0",
44
44
  "redis": "^4.7.0",
45
- "@powerhousedao/config": "5.2.0-staging.1",
46
- "@powerhousedao/reactor": "5.2.0-staging.1",
47
- "@powerhousedao/reactor-api": "5.2.0-staging.1",
48
- "@renown/sdk": "5.2.0-staging.1",
49
- "document-drive": "5.2.0-staging.1",
50
- "document-model": "5.2.0-staging.1"
45
+ "@powerhousedao/config": "5.2.0-staging.2",
46
+ "@powerhousedao/reactor": "5.2.0-staging.2",
47
+ "@powerhousedao/reactor-api": "5.2.0-staging.2",
48
+ "@renown/sdk": "5.2.0-staging.2",
49
+ "document-drive": "5.2.0-staging.2",
50
+ "document-model": "5.2.0-staging.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/express": "^4.17.25",