<name>report_id</name>
<title>Report template ID</title>
<type>varchar</type>
- <length>64</length>
+ <length>512</length>
<required>true</required>
<comment>FK to civicrm_option_value for the report template</comment>
<html>
</html>
<add>2.2</add>
</field>
+ <field>
+ <name>created_id</name>
+ <type>int unsigned</type>
+ <title>Report Instance Created By</title>
+ <comment>FK to contact table.</comment>
+ <add>4.6</add>
+ </field>
+ <foreignKey>
+ <name>created_id</name>
+ <table>civicrm_contact</table>
+ <key>id</key>
+ <add>4.6</add>
+ <onDelete>SET NULL</onDelete>
+ </foreignKey>
+ <field>
+ <name>owner_id</name>
+ <type>int unsigned</type>
+ <title>Report Instance Owned By</title>
+ <comment>FK to contact table.</comment>
+ <add>4.6</add>
+ </field>
+ <foreignKey>
+ <name>owner_id</name>
+ <table>civicrm_contact</table>
+ <key>id</key>
+ <add>4.6</add>
+ <onDelete>SET NULL</onDelete>
+ </foreignKey>
<field>
<name>email_subject</name>
<title>Report Instance email Subject</title>