Add Mitgliederverwaltungs-UI (Phase 1 MVP)
- List view with live search and member count - Create form (/mitglieder/neu) with group checkboxes - Detail/Edit view with inline edit toggle - Delete with confirmation dialog - Makefile: skip migration files already on DS (avoid root permission error)
This commit is contained in:
parent
375a3305bb
commit
c2c4dfd518
4 changed files with 709 additions and 14 deletions
8
Makefile
8
Makefile
|
|
@ -73,11 +73,15 @@ deploy: check-ssh
|
|||
cat "$$f" | ssh $(DS_HOST) "cat > $(HOOKS_DST)/$$(basename $$f)"; \
|
||||
done; \
|
||||
fi
|
||||
@echo "→ PocketBase Migrations synchronisieren..."
|
||||
@echo "→ PocketBase Migrations synchronisieren (nur neue)..."
|
||||
@ssh $(DS_HOST) "mkdir -p $(MIGRATIONS_DST)"
|
||||
@if ls $(MIGRATIONS_SRC)/*.js 2>/dev/null | grep -q .; then \
|
||||
for f in $(MIGRATIONS_SRC)/*.js; do \
|
||||
cat "$$f" | ssh $(DS_HOST) "cat > $(MIGRATIONS_DST)/$$(basename $$f)"; \
|
||||
fname=$$(basename "$$f"); \
|
||||
if ! ssh $(DS_HOST) "test -f $(MIGRATIONS_DST)/$$fname" 2>/dev/null; then \
|
||||
cat "$$f" | ssh $(DS_HOST) "cat > $(MIGRATIONS_DST)/$$fname"; \
|
||||
echo " ✓ $$fname"; \
|
||||
fi; \
|
||||
done; \
|
||||
fi
|
||||
@echo "→ Docker rebuild + restart..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue