🔧 chore(scripts): add nutriphi to database setup script

This commit is contained in:
Till-JS 2026-01-25 13:24:48 +01:00
parent b6af01ed67
commit 9472978c66

View file

@ -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