1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_file
</name>
7 <comment>Data store for uploaded (attached) files (pointer to file on disk OR blob). Maybe be joined to entities via custom_value.file_id or entity_file table.
</comment>
12 <type>int unsigned
</type>
13 <title>File ID
</title>
14 <required>true
</required>
15 <comment>Unique ID
</comment>
20 <autoincrement>true
</autoincrement>
23 <name>file_type_id
</name>
24 <type>int unsigned
</type>
25 <title>File Type
</title>
26 <comment>Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.
</comment>
30 <name>mime_type
</name>
32 <title>Mime Type
</title>
34 <comment>mime type of the document
</comment>
42 <comment>uri of the file on disk
</comment>
47 <type>mediumblob
</type>
48 <title>File Contents
</title>
49 <comment>contents of the document
</comment>
53 <name>description
</name>
55 <title>File Description
</title>
57 <comment>Additional descriptive text regarding this attachment (optional).
</comment>
61 <name>upload_date
</name>
63 <title>File Upload Date
</title>
64 <comment>Date and time that this attachment was uploaded or written to server.
</comment>