Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: pnpm flag (#15313)
Danny Xu28d046e6e855
diff --git a/backend/migrator/migrator.go b/backend/migrator/migrator.goindex aa211da441..140c1f16cb 100644--- a/backend/migrator/migrator.go+++ b/backend/migrator/migrator.go@@ -82,6 +82,7 @@ func MigrateSchema(ctx context.Context, storeDB *store.DB, storeInstance *store.return nil, err}if _, err := metadataDriver.GetDB().ExecContext(ctx, `+ DELETE FROM instance_change_history WHERE status = 'FAILED';UPDATE instance_change_historySETversion = ARRAY_TO_STRING(diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex f23f99b5bd..21d643b5c2 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -15,8 +15,8 @@ WORKDIR /frontend-buildCOPY . .-RUN pnpm --dir frontend install --frozen-lockfile-RUN pnpm --dir frontend release-docker+RUN pnpm --dir ./frontend i+RUN pnpm --dir ./frontend release-dockerFROM golang:1.24.0 as backendADD go.mod go.sum /diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex 62af8d40d5..92838037b5 100644--- a/scripts/Dockerfile.aws+++ b/scripts/Dockerfile.aws@@ -15,8 +15,8 @@ WORKDIR /frontend-buildCOPY . .-RUN pnpm --dir frontend install --frozen-lockfile-RUN pnpm --dir frontend release-aws+RUN pnpm --dir ./frontend i+RUN pnpm --dir ./frontend release-awsFROM golang:1.24.0 as backendADD go.mod go.sum /diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex 98e629c67e..63ceacd3a3 100755--- a/scripts/build_bytebase.sh+++ b/scripts/build_bytebase.sh@@ -41,12 +41,7 @@ echo "Step 1 - building Bytebase frontend..."rm -rf ./backend/server/distexport BB_GIT_COMMIT_ID_FE=$(git rev-parse HEAD)-if command -v pnpm > /dev/null-then- pnpm --dir ./frontend i && pnpm --dir ./frontend release-else- npm --prefix ./frontend run release-fi+pnpm --dir ./frontend i && pnpm --dir ./frontend releaseecho "Completed building Bytebase frontend."