Closed nmrgt closed 4 months ago
The recent updates encompass refining the database schema and error logging in the policy engine. Notable changes include removing the carpool_id
property across various classes and tests for streamlined incentive and policy calculations. Additionally, new unique indexes have been added to enhance data integrity and retrieval efficiency.
Files | Change Summary |
---|---|
api/src/db/migrations/policy/20240423000000_migrate_to_carpool_v2.up.sql |
Added a new unique index and modified an existing index in policy.incentives table. |
api/src/pdc/services/policy/actions/SimulateOnFutureAction.ts , api/src/pdc/services/policy/engine/entities/Incentive.ts , api/src/pdc/services/policy/providers/IncentiveRepositoryProvider.ts |
Removed carpool_id from various classes and tests; enhanced error logging with carpool operator details. |
🐇💻 Changes abound, the code does leap, Through fields and forms, the indexes creep. Gone are IDs, both near and far, Making way for data's new avatar. A hop, a skip, in binary ballet, CodeRabbit's work brightens the day. 🌟
Summary by CodeRabbit
New Features
Bug Fixes
Incentive
instances, simplifying the process.Refactor
carpool_id
across various modules, aligning with updated data handling standards.policy.incentives
table to improve database performance and uniqueness of data entries.Tests
_id
andcarpool_id
.