mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
🔧 chore(scripts): add nutriphi to database setup script
This commit is contained in:
parent
b6af01ed67
commit
9472978c66
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue