Add essential model imports to ensure database tables are created
All checks were successful
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 26s

This commit is contained in:
aitbc
2026-04-28 21:11:43 +02:00
parent 909b7502f2
commit f0ef4619e9

View File

@@ -62,6 +62,7 @@ def get_engine() -> Engine:
# Import only essential models for database initialization
# This avoids loading all domain models which causes 2+ minute startup delays
from ..domain import Job, GPUBooking, JobPayment
def init_db() -> Engine: