CRM-17663 - Cruft removal
[civicrm-core.git] / xml / schema / Core / RecurringEntity.xml
index e43f33458b16ba5bb474444eed1b2c11de03ad56..f90c5e4092d549b9673ee97499931c283a3e7df5 100644 (file)
@@ -4,14 +4,15 @@
   <base>CRM/Core</base>
   <class>RecurringEntity</class>
   <name>civicrm_recurring_entity</name>
-  <add>1.7</add>
+  <add>4.6</add>
   <log>true</log>
   <field>
       <name>id</name>
       <title>ID</title>
       <type>int unsigned</type>
-      <required>true</required>      
-      <add>1.7</add>
+      <length>10</length>
+      <required>true</required>
+      <add>4.6</add>
   </field>
   <primaryKey>
        <name>id</name>
   <field>
       <name>parent_id</name>
       <type>int unsigned</type>
+      <length>10</length>
       <title>Parent ID</title>
       <required>true</required>
-      <add>1.7</add>
+      <comment>Recurring Entity Parent ID</comment>
+      <add>4.6</add>
   </field>
   <field>
       <name>entity_id</name>
       <type>int unsigned</type>
+      <length>10</length>
       <title>Entity ID</title>
-      <add>1.7</add>
+      <comment>Recurring Entity Child ID</comment>
+      <add>4.6</add>
   </field>
   <field>
       <name>entity_table</name>
       <type>varchar</type>
+      <length>64</length>
       <title>Entity Table</title>
       <required>true</required>
-      <add>1.7</add>
+      <comment>Physical tablename for entity, e.g. civicrm_event</comment>
+      <add>4.6</add>
+  </field>
+  <field>
+      <name>mode</name>
+      <type>boolean</type>
+      <default>1</default>
+      <title>Cascade Type</title>
+      <required>true</required>
+      <comment>1-this entity, 2-this and the following entities, 3-all the entities</comment>
+      <add>4.6</add>
   </field>
-</table>
\ No newline at end of file
+</table>