2026-11-20T04:56:31+03:00
object bytes live in the RustFS volume, metadata in PostgreSQL

                  id                  |                                   object_key                                    | size_bytes |                              sha256                              
--------------------------------------+---------------------------------------------------------------------------------+------------+------------------------------------------------------------------
 82d5d4f3-e97a-4aea-9501-69ef2b74e138 | chats/e8618579-667a-4423-aa62-5402596e57d8/82d5d4f3-e97a-4aea-9501-69ef2b74e138 |     111817 | 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
(1 row)


S3 volume listing for that object

total 112
-rw-r--r-- 1 rustfs rustfs 112398 Nov 20 01:55 xl.meta

attachments table columns (no binary content)

 column_name  |        data_type         
--------------+--------------------------
 id           | uuid
 chat_id      | uuid
 owner_id     | uuid
 filename     | text
 content_type | text
 size_bytes   | bigint
 sha256       | text
 object_key   | text
 status       | text
 error_code   | text
 created_at   | timestamp with time zone
 updated_at   | timestamp with time zone
(12 rows)

