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 <required>true
</required>
14 <comment>Unique ID
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>file_type_id
</name>
23 <type>int unsigned
</type>
24 <comment>Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.
</comment>
28 <name>mime_type
</name>
31 <comment>mime type of the document
</comment>
38 <comment>uri of the file on disk
</comment>
43 <type>mediumblob
</type>
44 <comment>contents of the document
</comment>
48 <name>description
</name>
51 <comment>Additional descriptive text regarding this attachment (optional).
</comment>
55 <name>upload_date
</name>
57 <comment>Date and time that this attachment was uploaded or written to server.
</comment>