This commit is contained in:
phaichayon
2026-06-16 08:43:19 +07:00
parent eae0dee1f2
commit b8f13e36b3
12 changed files with 547 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
Status:
accepted
Context:
Task E introduced quotation attachments as metadata only.
Task E.1 confirms that approval should not start on top of an unstable file-storage design.
Decision:
- Keep quotation attachments metadata-only for now.
- Store file identity, original name, path, type, size, uploader, and timestamps in CRM tables.
- Do not build upload transport, storage provider logic, signed download URLs, or binary retention policy in Task E or E.1.
Consequences:
- Task F can reference attachment metadata without being blocked by storage implementation details.
- A later storage task must define provider abstraction, permission checks, retention rules, and migration strategy for existing metadata rows.