forked from mtusi2026/mtusi2026lab4
Add the quarantine columns for the storage reconciler
Migration 0004 adds a nullable quarantine reason (missing, size or digest mismatch) and the time it was set, both null or both present. Nullable columns without a default only touch the catalogue, so the running version keeps working while the migration is applied. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
148868bdfb
commit
62986245a2
@@ -1,7 +1,7 @@
|
||||
## 1. Схема и миграции
|
||||
|
||||
- [ ] 1.1 `0004_attachment_quarantine.sql`: `quarantine_reason` с `CHECK`, `quarantined_at`, согласованность пары
|
||||
- [ ] 1.2 Проверка группы: `make student-test` (`test_migrations.py`: повтор без изменений)
|
||||
- [x] 1.1 `0004_attachment_quarantine.sql`: `quarantine_reason` с `CHECK`, `quarantined_at`, согласованность пары
|
||||
- [x] 1.2 Проверка группы: `make student-test` (`test_migrations.py`: повтор без изменений)
|
||||
|
||||
## 2. Зона `attachments`: домен и приложение
|
||||
|
||||
|
||||
Reference in New Issue
Block a user