Index: src/config/database.js
===================================================================
--- src/config/database.js	(revision 33e1dbd11a4cb4638e01c26e3f3c98e352e8892e)
+++ src/config/database.js	(revision 5190152c90d2d397b7f87f9c900eae8d8c1e2856)
@@ -438,4 +438,6 @@
   // Rich replies: the reply's language (BCP47 code) → contentMap on the outgoing Note.
   ensureColumn('ap_outbox', 'language', 'TEXT');
+  // Rich replies: JSON array [{url, mediaType, name}] → `attachment` on the Note.
+  ensureColumn('ap_outbox', 'attachments', 'TEXT');
 }
 
