- Move Feature model from models/database/ to app/modules/billing/models/ (tightly coupled to SubscriptionTier for tier-based access control) - Move ProductMedia from models/database/media.py to app/modules/catalog/models/ (product-specific media associations belong with catalog) - Keep MediaFile as CORE in models/database/media.py (cross-cutting file storage) - Convert legacy feature.py to re-export for backwards compatibility - Update all imports to use canonical module locations Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
490 B
Python
23 lines
490 B
Python
# models/database/feature.py
|
|
"""
|
|
DEPRECATED: This module re-exports from the canonical location.
|
|
|
|
Feature is now part of the billing module.
|
|
Please update imports to use:
|
|
from app.modules.billing.models import Feature, FeatureCode, FeatureCategory, FeatureUILocation
|
|
"""
|
|
|
|
from app.modules.billing.models import (
|
|
Feature,
|
|
FeatureCategory,
|
|
FeatureCode,
|
|
FeatureUILocation,
|
|
)
|
|
|
|
__all__ = [
|
|
"Feature",
|
|
"FeatureCategory",
|
|
"FeatureCode",
|
|
"FeatureUILocation",
|
|
]
|