Add essential model imports to ensure database tables are created
All checks were successful
All checks were successful
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user