feat(04-schema-docs): annotate ensure_* compensating migrations and update DB_SCHEMA.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 10:15:58 +01:00
parent 9a0dbe050b
commit 2d4b52adfc
15 changed files with 735 additions and 64 deletions

View File

@@ -8,7 +8,7 @@ orderPRO to narzędzie do wielokanałowego zarządzania sprzedażą. Projekt prz
**v0.1 Initial Release** (v0.1.0)
Status: In progress
Phases: 3 complete, next TBD
Phases: 3 complete, Phase 4 planning
## Phases
@@ -17,6 +17,8 @@ Phases: 3 complete, next TBD
| 1 | Tech Debt | 2/2 | ✅ Complete | 2026-03-12 |
| 2 | Bug Fixes | 4/4 | ✅ Complete | 2026-03-13 |
| 3 | Tech Debt 2 | 1/1 | ✅ Complete | 2026-03-13 |
| 4 | Schema Docs | 1/1 | ✅ Complete | 2026-03-13 |
| 5 | Tech Debt 3 | 1/1 | ✅ Complete | 2026-03-13 |
## Phase Details
@@ -39,6 +41,16 @@ Ustandaryzowanie niespójności technicznych zidentyfikowanych w `.paul/codebase
- **Plan 03-01** — CSRF Token Field Name Inconsistency — `_csrf_token``_token` w OrdersController, ShipmentController i ich widokach — *Complete*
### Phase 4 — Schema Docs
Adnotacja 5 migracji kompensujących `ensure_*` i aktualizacja dokumentacji schematu.
- **Plan 04-01** — Annotate ensure_* compensating migrations — *Complete*
### Phase 5 — Tech Debt 3
Migracja flash messages z bezpośrednich zapisów `$_SESSION` do abstrakcji `Flash::set()`/`Flash::get()`.
- **Plan 05-01** — Migrate $_SESSION flash writes to Flash class in OrdersController and ShipmentController — *Complete*
---
*Roadmap created: 2026-03-12*
*Last updated: 2026-03-13*
*Last updated: 2026-03-13 after Phase 5 (Tech Debt 3 — Flash migration)*