Hotfix for https://github.com/juspay/hyperswitch/pull/7017
To implement this **search_filter** feature, you'll need to modify these architectural layers:


**1. Database Layer (Queries & Schema)**
   - `crates/diesel_models/src/capture.rs`
   - `crates/diesel_models/src/kv.rs`
   - `crates/diesel_models/src/payment_attempt.rs`
   - ... and 5 more files

**2. Domain Models (Business Logic Types)**
   - `crates/hyperswitch_domain_models/src/payments/payment_attempt.rs`

**3. Core Business Logic**
   - `crates/router/src/core/payments/operations/payment_response.rs`
   - `crates/router/src/core/payments/transformers.rs`
   - `crates/router/src/core/refunds.rs`
   - ... and 1 more files

**4. External Connector Integration**
   - `crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs`
   - `crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs`
   - `crates/router/src/configs/defaults/payment_connector_required_fields.rs`

**5. Type Definitions**
   - `crates/common_utils/src/types.rs`
   - `crates/router/src/types/storage/payment_attempt.rs`

**6. Utils**
   - `crates/router/src/utils/user/sample_data.rs`

**7. Tests**
   - `cypress-tests/cypress/e2e/configs/Payment/WorldPay.js`

**8. Other**
   - `crates/router/src/db/capture.rs`
   - `crates/router/src/db/refund.rs`
   - `crates/storage_impl/src/payments/payment_attempt.rs`
   - ... and 5 more files

**Code Patterns Applied:**
- Extend existing types with new fields (222 changes)

**Detailed Identifier Changes:**


Commit 3aa910ef:
Files to modify:


**crates/common_utils/src/types.rs**
  Modify existing code

**crates/diesel_models/src/capture.rs**
  Modify existing code

**crates/diesel_models/src/kv.rs**
  Modify existing code

**crates/diesel_models/src/payment_attempt.rs**
  Modify existing code

**crates/diesel_models/src/query/capture.rs**
  Modify existing code

**crates/diesel_models/src/refund.rs**
  Modify existing code

**crates/diesel_models/src/schema.rs**
  Modify existing code

**crates/diesel_models/src/schema_v2.rs**
  Modify existing code

**crates/diesel_models/src/user/sample_data.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/payments/payment_attempt.rs**
  Modify existing code

**crates/router/src/configs/defaults/payment_connector_required_fields.rs**
  Modify existing code

**crates/router/src/core/payments/operations/payment_response.rs**
  Modify existing code

**crates/router/src/core/payments/transformers.rs**
  Modify existing code

**crates/router/src/core/refunds.rs**
  Modify existing code

**crates/router/src/core/webhooks/incoming.rs**
  Modify existing code

**crates/router/src/db/capture.rs**
  Modify existing code

**crates/router/src/db/refund.rs**
  Modify existing code

**crates/router/src/types/storage/payment_attempt.rs**
  Modify existing code

**crates/router/src/utils/user/sample_data.rs**
  Modify existing code

**crates/storage_impl/src/payments/payment_attempt.rs**
  Modify existing code
{"pr_number": 7253, "pr_title": "refactor(schema): add a new column for storing large connector transaction IDs", "merged_at": "2025-02-13T09:44:30Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"database": ["crates/diesel_models/src/capture.rs", "crates/diesel_models/src/kv.rs", "crates/diesel_models/src/payment_attempt.rs", "crates/diesel_models/src/query/capture.rs", "crates/diesel_models/src/refund.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs", "crates/diesel_models/src/user/sample_data.rs"], "domain": ["crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"], "core_business": ["crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/refunds.rs", "crates/router/src/core/webhooks/incoming.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/router/src/configs/defaults/payment_connector_required_fields.rs"], "types": ["crates/common_utils/src/types.rs", "crates/router/src/types/storage/payment_attempt.rs"], "utils": ["crates/router/src/utils/user/sample_data.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/WorldPay.js"], "other": ["crates/router/src/db/capture.rs", "crates/router/src/db/refund.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "migrations/2025-01-09-135057_add_processor_transaction_data/down.sql", "migrations/2025-01-09-135057_add_processor_transaction_data/up.sql", "v2_migrations/2024-08-28-081721_add_v2_columns/up.sql", "v2_migrations/2024-11-08-081847_drop_v1_columns/down.sql", "v2_migrations/2024-11-08-081847_drop_v1_columns/up.sql"]}, "change_types": {"fields_added": 222}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}