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

                  id                  |                                   object_key                                    | size_bytes |                              sha256                              
--------------------------------------+---------------------------------------------------------------------------------+------------+------------------------------------------------------------------
 3dbc5415-9791-4983-a253-bc71fdc79a24 | chats/3ec617cd-fddf-4ae1-ad9d-37a4bb319b76/3dbc5415-9791-4983-a253-bc71fdc79a24 |     126609 | 518fd54cb19f8ceaca99139652fb96ed3a5d502392450846c832924b1722d2bf
(1 row)


S3 volume listing for that object

total 128
-rw-r--r-- 1 rustfs rustfs 127190 Nov 20 01:17 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)

