AntiPattern
Incorrect Session Context Management
improper-db-session-context-management
A recurring integration shape where database session construction or migration assumptions are misused, so a method object is treated as a context manager and schema changes are skipped or never applied, causing runtime failures or stale schemas.