π files
The File model represents any file that is uploaded or attached to other elements in the system, like tasks, microtasks, templates, or chat messages. Files are stored in the server filesystem and only
π files
π§© Fields:
π
id
(Integer
): Unique identifier for the file (primary key).π
filename
(Text
): The name of the file (e.g.,report.pdf
). Required.π§©
extension
(Text
): The file extension (e.g.,.pdf
,.jpg
). Required.π
route
(Text
): The path or location where the file is stored. Required.π
creation_date
(DateTime
): When the file was uploaded or created. Required.π
last_modified
(DateTime
): When the file was last edited. Required.
π Relationships:
π
files_tasks
: Links this file to one or more tasks viaTasksFile
.π
files_templates
: Links this file to templates viaTemplatesFile
.π¬
files_chat_logs
: Attached to messages in chats viaChatLogsFile
.π§
files_microtasks
: Associated with microtasks viaMicrotasksFile
.π¬
files_task_comments
: Linked to task comments viaTaskCommentsFile
.π¬
files_microtask_comments
: Linked to microtask comments viaMicrotaskCommentsFile
.π§Ύ
activity_logs
: Referenced in logs to track file-related actions.πΌοΈ
group_chats
: Used as image previews or attachments in group chats.
Last updated