fix: move CapacitySnapshot import to monitoring in alembic env
Also update platform domains to production values: - main: wizard.lu - oms: oms.lu - loyalty: rewardflow.lu Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,6 @@ try:
|
||||
from app.modules.billing.models import ( # noqa: F401
|
||||
AddOnProduct,
|
||||
BillingHistory,
|
||||
CapacitySnapshot,
|
||||
MerchantFeatureOverride,
|
||||
MerchantSubscription,
|
||||
StoreAddOn,
|
||||
@@ -90,7 +89,7 @@ try:
|
||||
TierFeatureLimit,
|
||||
)
|
||||
|
||||
print(" ✓ Billing models (9)")
|
||||
print(" ✓ Billing models (8)")
|
||||
except ImportError as e:
|
||||
_import_errors.append(f"billing: {e}")
|
||||
print(f" ✗ Billing models failed: {e}")
|
||||
@@ -263,6 +262,19 @@ except ImportError as e:
|
||||
_import_errors.append(f"dev_tools: {e}")
|
||||
print(f" ✗ Dev Tools models failed: {e}")
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# MONITORING MODULE (1 model)
|
||||
# ----------------------------------------------------------------------------
|
||||
try:
|
||||
from app.modules.monitoring.models import ( # noqa: F401
|
||||
CapacitySnapshot,
|
||||
)
|
||||
|
||||
print(" ✓ Monitoring models (1)")
|
||||
except ImportError as e:
|
||||
_import_errors.append(f"monitoring: {e}")
|
||||
print(f" ✗ Monitoring models failed: {e}")
|
||||
|
||||
# ============================================================================
|
||||
# SUMMARY
|
||||
# ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user