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
8 custom_value.file_id or entity_file table.
14 <type>int unsigned
</type>
15 <required>true
</required>
16 <comment>Unique ID
</comment>
21 <autoincrement>true
</autoincrement>
24 <name>file_type_id
</name>
25 <type>int unsigned
</type>
26 <comment>Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.
</comment>
30 <name>mime_type
</name>
33 <comment>mime type of the document
</comment>
40 <comment>uri of the file on disk
</comment>
45 <type>mediumblob
</type>
46 <comment>contents of the document
</comment>
50 <name>description
</name>
53 <comment>Additional descriptive text regarding this attachment (optional).
</comment>
57 <name>upload_date
</name>
59 <comment>Date and time that this attachment was uploaded or written to server.
</comment>