Files
doormile_backend/migration.txt
2026-06-22 17:43:40 +05:30

85 lines
7.0 KiB
Plaintext

Here's everything in your Qdrant cluster at http://66.116.207.225:6333 (v1.18.2):
---
Collections (2 total)
1. doormile_auth — 5 users (1-dim Dot vector)
Used for authentication. All users have PIN 1234.
┌─────┬───────────┬────────────────────────┬────────────┬─────────┐
│ ID │ Name │ Email │ Phone │ Role │
├─────┼───────────┼────────────────────────┼────────────┼─────────┤
│ 1 │ Suriya │ suriya@tenext.in │ 6374946729 │ admin │
├─────┼───────────┼────────────────────────┼────────────┼─────────┤
│ 2 │ Kamesh │ kamesh@doormile.com │ 8838842020 │ rep │
├─────┼───────────┼────────────────────────┼────────────┼─────────┤
│ 3 │ Parthiban │ parthiban@doormile.com │ 7708262011 │ rep │
├─────┼───────────┼────────────────────────┼────────────┼─────────┤
│ 4 │ Fazul │ fazul@doormile.com │ 9629415770 │ rep │
├─────┼───────────┼────────────────────────┼────────────┼─────────┤
│ 5 │ Care │ care@doormile.com │ (none) │ support │
└─────┴───────────┴────────────────────────┴────────────┴─────────┘
---
2. doormile_clients — 4 clients (16-dim Cosine vector)
┌──────┬────────┬───────┬───────┬──────┬───────┬────────┬──────┐
│ Clie │ │ Busin │ Statu │ Parc │ Contr │ Provid │ Reco │
│ nt │ City │ ess │ s │ el │ acts │ er │ rded │
│ │ │ Type │ │ Vol │ │ │ By │
├──────┼────────┼───────┼───────┼──────┼───────┼────────┼──────┤
│ Jona │ Perur │ whole │ newCl │ 450/ │ 12 │ Xpress │ Fazu │
│ than │ │ sale │ ient │ day │ │ Bees │ l │
├──────┼────────┼───────┼───────┼──────┼───────┼────────┼──────┤
│ Door │ Coimba │ retai │ newCl │ │ │ Not │ (non │
│ mile │ tore │ l │ ient │ 0 │ 0 │ disclo │ e) │
│ │ │ │ │ │ │ sed │ │
├──────┼────────┼───────┼───────┼──────┼───────┼────────┼──────┤
│ Abhi │ │ whole │ newCl │ │ │ Not │ (non │
│ shek │ Perur │ sale │ ient │ 0 │ 0 │ disclo │ e) │
│ │ │ │ │ │ │ sed │ │
├──────┼────────┼───────┼───────┼──────┼───────┼────────┼──────┤
│ Suri │ Coimba │ ecomm │ newCl │ 200/ │ 5 │ DTDC E │ (non │
│ ya │ tore │ erce │ ient │ wk │ │ xpress │ e) │
└──────┴────────┴───────┴───────┴──────┴───────┴────────┴──────┘
All 4 clients are geo-tagged around RS Puram, Coimbatore (11.005°N, 76.951°E). Three of them have full survey data; the Doormile and Abhishek entries have dataConsent: basicOnly so parcel volume / contracts are hidden.
---
Summary
- Cluster: Qdrant v1.18.2, single-node, healthy (green)
- Auth collection: Stores login credentials (email + phone + PIN + role) with a dummy 1-dim vector — essentially used as a key-value store, not for actual vector search
- Clients collection: 16-dim feature vectors encoding business profile (parcel volume, contracts, business type, status, frequency, consent, geo) for cosine-similarity nearest-neighbour search
- Data volume is very small — this looks like early-stage / test data; only 4 real client records so far
✻ Baked for 1m 19s
In your DoorMile CRM Flutter app (survey_screen.dart), the survey form splits the data into two distinct privacy levels based on the client's consent.
Here is exactly what details are saved for a Partial (Basic Only) profile versus a Completely Filled (Full Consent) profile:
1. Partial Profile (Basic Identity & Routing)
If the client opts out of sharing sensitive data, the app submits _doSubmitBasicOnly, which captures only the foundational identity and geographical routing data:
Identity: Business Name, Phone Number, Business Type (e.g., E-commerce).
Location/GPS: Business City, State, Neighbourhood, manually entered Pincode. It also captures the exact GPS metadata (surveyLat, surveyLng, surveyAddress, surveyZone, surveyPincode).
Logistics Needs: Shipping Frequency (e.g., Daily, Weekly), Logistics Segment (e.g., First Mile), and Transit Routes (transitFrom, transitTo).
Omissions: Sensitive metrics are zeroed out or masked (e.g., Parcel Volume = 0, Contracts = 0, Provider = "Not disclosed", Notes = empty).
2. Completely Filled Profile (Full Consent)
If the client agrees to share full details, the app submits _doSubmitFull, which captures everything in the Basic profile, PLUS all the sensitive business metrics:
Volume Data: Average Parcel Volume (e.g., 450 parcels).
Contract Details: Active Contracts length in months.
Competitor Intel: Current Logistics Provider (e.g., DTDC Express, Blue Dart) and auto-calculated Provider Efficiency (e.g., "Premium Service", "Cost Leader").
Qualitative Data: Any custom notes/remarks you typed in about the visit.
In short: The Partial profile gets you the client's identity and location so you can follow up later, while the Complete profile gives you the competitor intel and parcel volume needed to actually generate a quote!
PS E:\Doormile\Doormile-app\DoormileBackend\DoormileBackend> claude
Resume this session with:
claude --resume e5d2b133-41cf-4bbb-8feb-8a586e0b134f
PS E:\Doormile\Doormile-app\DoormileBackend\DoormileBacken