From 43fb75f2b42e28e636b67a77b5528ff80f2f21ee Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:16:13 +0100 Subject: [PATCH] Switch sqlite-specific db scripts to generic (#11868) Replace npm script calls to db:sqlite:generate and db:sqlite:push with db:generate and db:push in ct/pangolin.sh and install/pangolin-install.sh. This makes the build/install steps use the generic DB task names for consistency across update and install workflows. --- ct/pangolin.sh | 2 +- install/pangolin-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/pangolin.sh b/ct/pangolin.sh index 983d32a8b..24f2b4651 100644 --- a/ct/pangolin.sh +++ b/ct/pangolin.sh @@ -51,7 +51,7 @@ function update_script() { $STD npm run db:generate $STD npm run build $STD npm run build:cli - $STD npm run db:sqlite:push + $STD npm run db:push cp -R .next/standalone ./ chmod +x ./dist/cli.mjs cp server/db/names.json ./dist/names.json diff --git a/install/pangolin-install.sh b/install/pangolin-install.sh index 82f10e953..301ba2bf2 100644 --- a/install/pangolin-install.sh +++ b/install/pangolin-install.sh @@ -36,7 +36,7 @@ $STD npm ci $STD npm run set:sqlite $STD npm run set:oss rm -rf server/private -$STD npm run db:sqlite:generate +$STD npm run db:generate $STD npm run build $STD npm run build:cli cp -R .next/standalone ./ @@ -178,7 +178,7 @@ http: servers: - url: "http://$LOCAL_IP:3000" EOF -$STD npm run db:sqlite:push +$STD npm run db:push . /etc/os-release if [ "$VERSION_CODENAME" = "trixie" ]; then