Merge pull request #23568 from civicrm/5.50
[civicrm-core.git] / xml / schema / Core / RecurringEntity.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>RecurringEntity</class>
6 <name>civicrm_recurring_entity</name>
7 <add>4.6</add>
8 <log>true</log>
9 <field>
10 <name>id</name>
11 <title>ID</title>
12 <type>int unsigned</type>
13 <length>10</length>
14 <required>true</required>
15 <html>
16 <type>Number</type>
17 </html>
18 <add>4.6</add>
19 </field>
20 <primaryKey>
21 <name>id</name>
22 <autoincrement>true</autoincrement>
23 </primaryKey>
24 <field>
25 <name>parent_id</name>
26 <type>int unsigned</type>
27 <length>10</length>
28 <title>Parent ID</title>
29 <required>true</required>
30 <comment>Recurring Entity Parent ID</comment>
31 <add>4.6</add>
32 </field>
33 <field>
34 <name>entity_id</name>
35 <type>int unsigned</type>
36 <length>10</length>
37 <title>Entity ID</title>
38 <comment>Recurring Entity Child ID</comment>
39 <add>4.6</add>
40 </field>
41 <field>
42 <name>entity_table</name>
43 <type>varchar</type>
44 <length>64</length>
45 <title>Entity Table</title>
46 <required>true</required>
47 <comment>Physical tablename for entity, e.g. civicrm_event</comment>
48 <add>4.6</add>
49 </field>
50 <field>
51 <name>mode</name>
52 <type>boolean</type>
53 <default>1</default>
54 <required>true</required>
55 <title>Cascade Type</title>
56 <required>true</required>
57 <comment>1-this entity, 2-this and the following entities, 3-all the entities</comment>
58 <add>4.6</add>
59 </field>
60 </table>