app.integration_file_links
TablaSeguridad a nivel de fila activa
Provider files attached to XOS documents (Section 17 storage: document links and import). A Link keeps the provider's URL and metadata current; an Import also copies the file into the document through the scanned attachment pipeline whenever the provider version changes.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.integration_connections on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| integration_connection_id | uuid | No | Storage connection the file lives in.Hace referencia a app.integration_connections.id |
| document_id | uuid | No | XOS document the file is attached to.Hace referencia a app.documents.id |
| link_mode | app.file_link_mode | No | Link or Import. |
| external_file_id | text | No | Provider file identifier. |
| file_name | text | No | File name as the provider reports it. |
| mime_type | text | Sí | MIME type as the provider reports it. |
| size_bytes | bigint | Sí | Size in bytes as the provider reports it. |
| web_url | text | Sí | HTTPS link that opens the file at the provider. |
| external_version | text | Sí | Provider revision, ETag or content hash last seen. |
| external_modified_at | timestamp with time zone | Sí | When the provider last changed the file. |
| attachment_id | uuid | Sí | Attachment on the document that imported versions belong to. Set by the runner.Hace referencia a app.attachments.id |
| last_attachment_version_id | uuid | Sí | Attachment version of the latest import, which becomes a document version once it scans Clean.Hace referencia a app.attachment_versions.id |
| imported_version | text | Sí | Provider revision of the latest import. |
| last_imported_at | timestamp with time zone | Sí | When the latest import was handed to scanning. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |