refactor: delete legacy models/database/cart.py

Update import in alembic/env.py to use app.modules.cart.models,
then delete the legacy re-export file.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 23:18:45 +01:00
parent e8af9d5e9f
commit 7437c70249
2 changed files with 1 additions and 14 deletions

View File

@@ -1,13 +0,0 @@
# models/database/cart.py
"""
LEGACY LOCATION - This file re-exports from the canonical module location.
Canonical location: app/modules/cart/models/
This file exists for backward compatibility. New code should import from:
from app.modules.cart.models import CartItem
"""
from app.modules.cart.models.cart import CartItem
__all__ = ["CartItem"]