Merge pull request #17068 from colemanw/currentPath
[civicrm-core.git] / xml / schema / Core / File.xml
index b11c3da0f600a0a7c6efc809550c96d75ff057c6..925e1f64893de551c1d77dddc882890509fbdcd2 100644 (file)
     <comment>Date and time that this attachment was uploaded or written to server.</comment>
     <add>1.5</add>
   </field>
+  <field>
+    <name>created_id</name>
+    <type>int unsigned</type>
+    <title>Created By Contact ID</title>
+    <comment>FK to civicrm_contact, who uploaded this file</comment>
+    <add>5.3</add>
+  </field>
+  <foreignKey>
+    <name>created_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>5.3</add>
+    <onDelete>SET NULL</onDelete>
+  </foreignKey>
 </table>