From 9472978c6639b67b9386e9a27e2f2a296507affc Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:24:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(scripts):=20add=20nutriphi?= =?UTF-8?q?=20to=20database=20setup=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/setup-databases.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/setup-databases.sh b/scripts/setup-databases.sh index 39729929c..7a9d6f09c 100755 --- a/scripts/setup-databases.sh +++ b/scripts/setup-databases.sh @@ -72,6 +72,7 @@ ALL_DATABASES=( "voxel_lava" "figgos" "planta" + "nutriphi" ) # Check if specific service requested @@ -141,9 +142,13 @@ setup_service() { create_db_if_not_exists "planta" push_schema "@planta/backend" "planta" ;; + nutriphi) + create_db_if_not_exists "nutriphi" + push_schema "@nutriphi/backend" "nutriphi" + ;; *) echo -e "${RED}Unknown service: $service${NC}" - echo "Available services: auth, chat, zitare, contacts, calendar, clock, todo, manadeck, mail, moodlit, finance, voxel-lava, figgos, planta" + echo "Available services: auth, chat, zitare, contacts, calendar, clock, todo, manadeck, mail, moodlit, finance, voxel-lava, figgos, planta, nutriphi" exit 1 ;; esac @@ -167,7 +172,7 @@ echo -e "\n${GREEN}Step 2: Pushing schemas${NC}" echo "--------------------------------------" # Push schemas for all known services -for service in auth chat zitare contacts calendar clock todo manadeck picture mail moodlit finance voxel-lava figgos planta; do +for service in auth chat zitare contacts calendar clock todo manadeck picture mail moodlit finance voxel-lava figgos planta nutriphi; do setup_service "$service" 2>/dev/null || true done