vault backup: 2026-04-29 22:22:08

This commit is contained in:
Vadym Samoilenko 2026-04-29 22:22:08 +01:00
parent 3840643a8b
commit 2dd5962773

View file

@ -602,3 +602,12 @@ tags: [daily]
- 22:16 | `video-accessibility`
- **Asked:** Fix Migration class variable being overwritten in __init__ causing all migrations to record incorrect version "0000-00-00-000000".
- **Done:** Removed version and description initialization from __init__ to preserve class variables, then cleaned corrupted database records.
- 22:19 | `video-accessibility`
- **Asked:** How to clean up broken database migration records and resync migrations?
- **Done:** Provided three-command sequence to delete malformed migration history entries, pull latest code, and reapply migrations.
- 22:19 | `video-accessibility`
- **Asked:** Developer needed to fix broken migration history records and deploy code changes to production.
- **Done:** Identified shell quoting issue and stale container build; executed database cleanup with corrected syntax and copied fixed migrator file directly into running container.
- 22:21 | `video-accessibility`
- **Asked:** Fix MongoDB migration shell escaping and deploy corrected migrator to running container.
- **Done:** Dropped migration_history collection, copied fixed migrator.py to container, and re-ran migrations successfully.