Add mount_count and unmount_count tracking for samples

Introduced `mount_count` and `unmount_count` fields to track mounting events for samples. Updated models, schemas, and front-end components to support dynamic calculation and display of these counts. Enhanced backend queries and API responses to include the new data.
This commit is contained in:
GotthardG
2025-01-20 13:04:20 +01:00
parent 3b315f2997
commit 4630bcfac5
4 changed files with 131 additions and 47 deletions

View File

@ -20,7 +20,6 @@ from app.dependencies import get_db
import logging
from sqlalchemy.orm import joinedload
router = APIRouter()