feat(tradein/lead): persist 152-ФЗ proof-of-consent (LOW audit R2 #9) #2511

Merged
bot-backend merged 1 commit from fix/tradein-lead-consent-columns into main 2026-07-12 22:13:38 +00:00

1 commit

Author SHA1 Message Date
bot-backend
55e40814a6 feat(tradein/lead): persist 152-ФЗ proof-of-consent (client_ip, policy version, text snapshot)
All checks were successful
CI Trade-In / changes (pull_request) Successful in 9s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / changes (pull_request) Successful in 9s
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / backend-tests (pull_request) Successful in 1m6s
Migration 182 adds nullable client_ip/consent_policy_version/consent_text_snapshot
to trade_in_leads; create_trade_in_lead now writes them (previously audit-log only,
#2497 TODO). Migrate-before-app (#2216 precedent). LOW audit R2 (#9).
2026-07-13 01:09:00 +03:00