diff --git a/backend/src/_system/migrations/run-all.ts b/backend/src/_system/migrations/run-all.ts index a134ee9..2d0fd9e 100644 --- a/backend/src/_system/migrations/run-all.ts +++ b/backend/src/_system/migrations/run-all.ts @@ -28,6 +28,7 @@ const MIGRATION_ORDER = [ 'features/user-profile', // User profile management; independent 'features/terms-agreement', // Terms & Conditions acceptance audit trail 'features/audit-log', // Centralized audit logging; independent + 'features/ownership-costs', // Depends on vehicles and documents; TCO recurring costs ]; // Base directory where migrations are copied inside the image (set by Dockerfile) diff --git a/frontend/src/features/ownership-costs/components/OwnershipCostsList.tsx b/frontend/src/features/ownership-costs/components/OwnershipCostsList.tsx index 74874c4..3b69dfb 100644 --- a/frontend/src/features/ownership-costs/components/OwnershipCostsList.tsx +++ b/frontend/src/features/ownership-costs/components/OwnershipCostsList.tsx @@ -84,9 +84,18 @@ export const OwnershipCostsList: React.FC = ({ } if (error) { + // Show a subtle message if the feature isn't set up yet, don't block the page return ( -
- {error} +
+
+

+ Recurring Costs +

+
+
+

Recurring costs tracking is being set up.

+

Run migrations to enable this feature.

+
); }