Rename ISPmail models to use Virtual* prefix

- Domain -> VirtualDomain
- User -> VirtualUser
- Alias -> VirtualAlias

This clarifies which tables are ISPmail tables vs IMC tables.
This commit is contained in:
Christoph Haas 2026-03-26 23:34:05 +01:00
parent 93922e4cad
commit d5880d5096
8 changed files with 87 additions and 96 deletions

View file

@ -32,18 +32,9 @@ build-backend: build-frontend
# Development targets
dev:
@echo "Starting backend dev server (hot-reload enabled)..."
cd $(BACKEND_DIR) && USE_EMBEDDED=false $(HOME)/go/bin/air > /tmp/imc-backend.log 2>&1 &
@echo "Backend started, PID: $$(pgrep -f air)"
sleep 3
cd $(BACKEND_DIR) && USE_EMBEDDED=false $(HOME)/go/bin/air
@echo "Starting frontend dev server..."
cd $(FRONTEND_DIR) && bun run dev > /tmp/imc-frontend.log 2>&1 &
@echo "Frontend started, PID: $$(pgrep -f 'vite')"
@echo ""
@echo "Logs:"
@echo " Backend: tail -f /tmp/imc-backend.log"
@echo " Frontend: tail -f /tmp/imc-frontend.log"
@echo ""
@echo "Stop with: pkill -f 'air|vite'"
cd $(FRONTEND_DIR) && bun run dev
dev-frontend:
@echo "Starting frontend dev server..."