• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 23202441547

17 Mar 2026 03:34PM UTC coverage: 82.035% (-0.01%) from 82.047%
23202441547

push

github

web-flow
feat(auditLog): migrate `AuditLog`'s `object_id` to `CharField` DEV-1607 (#6821)

### 📣 Summary
This PR converts `AuditLog.object_id` from `BigInteger` to
`CharField(255)` to support string-based UIDs.


### 📖 Description
- Updated `AuditLog.object_id` to `CharField` in `models.py`
- Implemented a custom migration that alters the column type directly.
- Added logic to handle the `SKIP_HEAVY_MIGRATIONS` flag: 
- If `True`, the migration prints the SQL required for a background
index build.
    - If `False`, the migration builds the index normally.
- Verified on production that no existing indexes on `object_id` require
dropping.

7548 of 11659 branches covered (64.74%)

1 of 1 new or added line in 1 file covered. (100.0%)

4732 existing lines in 180 files now uncovered.

28997 of 35347 relevant lines covered (82.04%)

5.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.24
/kpi/fields/writable_json.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc