Files
alla-allaos-fullstack/docs/adr/0008-attachment-storage-strategy.md
phaichayon b8f13e36b3 task-e
2026-06-16 08:43:19 +07:00

719 B

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.