CRM-14522 remove incorrect FK from message_template schema
authorEileen McNaughton <eileen@fuzion.co.nz>
Sun, 27 Apr 2014 18:21:48 +0000 (11:21 -0700)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sun, 27 Apr 2014 18:21:48 +0000 (11:21 -0700)
xml/schema/Core/MessageTemplate.xml

index 312a3a4014e5f62d73ee0a933ad76f0a6ef257df..d83bcbc3d7913fa07f331465507c43517778aaf4 100644 (file)
   <field>
       <name>pdf_format_id</name>
       <type>int unsigned</type>
-      <comment>FK to civicrm_option_value containing PDF Page Format.</comment>
+      <comment>a pseudo-FK to civicrm_option_value containing PDF Page Format.</comment>
       <pseudoconstant>
         <optionGroupName>pdf_format</optionGroupName>
-        <keyColumn>id</keyColumn>
       </pseudoconstant>
       <add>3.4</add>
   </field>
-  <foreignKey>
-      <name>pdf_format_id</name>
-      <table>civicrm_option_value</table>
-      <key>id</key>
-      <onDelete>SET NULL</onDelete>
-      <add>3.4</add>
-  </foreignKey>
 </table>