Merge branch 'master' into master-civimail-abtest
[civicrm-core.git] / xml / schema / Mailing / MailingAB.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Mailing</base>
5 <class>MailingAB</class>
6 <name>civicrm_mailing_abtest</name>
7 <comment>Stores information about abtesting</comment>
8 <archive>true</archive>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <title>MailingAB ID</title>
13 <required>true</required>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
20 <name>name</name>
21 <type>varchar</type>
22 <length>128</length>
23 <title>Name</title>
24 <comment>Name of the A/B test</comment>
25 <add>4.5</add>
26 </field>
27 <field>
28 <name>status</name>
29 <type>varchar</type>
30 <length>32</length>
31 <title>Status</title>
32 <comment>Status</comment>
33 <pseudoconstant>
34 <optionGroupName>mailing_ab_status</optionGroupName>
35 <keyColumn>name</keyColumn>
36 </pseudoconstant>
37 <add>4.5</add>
38 </field>
39 <field>
40 <name>mailing_id_a</name>
41 <type>int unsigned</type>
42 <title>Mailing ID (A)</title>
43 <comment>The first experimental mailing ("A" condition)</comment>
44 <add>4.5</add>
45 </field>
46 <field>
47 <name>mailing_id_b</name>
48 <type>int unsigned</type>
49 <title>Mailing ID (B)</title>
50 <comment>The second experimental mailing ("B" condition)</comment>
51 <add>4.5</add>
52 </field>
53 <field>
54 <name>mailing_id_c</name>
55 <type>int unsigned</type>
56 <title>Mailing ID (C)</title>
57 <comment>The final, general mailing (derived from A or B)</comment>
58 <add>4.5</add>
59 </field>
60 <field>
61 <name>domain_id</name>
62 <type>int unsigned</type>
63 <title>Domain ID</title>
64 <comment>Which site is this mailing for</comment>
65 <add>4.5</add>
66 </field>
67 <field>
68 <name>testing_criteria_id</name>
69 <type>int unsigned</type>
70 <title>Testing Criteria ID</title>
71 <pseudoconstant>
72 <optionGroupName>mailing_ab_testing_criteria</optionGroupName>
73 </pseudoconstant>
74 <add>4.5</add>
75 </field>
76 <field>
77 <name>winner_criteria_id</name>
78 <type>int unsigned</type>
79 <title>Winner Criteria ID</title>
80 <pseudoconstant>
81 <optionGroupName>mailing_ab_winner_criteria</optionGroupName>
82 </pseudoconstant>
83 <add>4.5</add>
84 </field>
85 <field>
86 <name>specific_url</name>
87 <type>varchar</type>
88 <title>URL for Winner Criteria</title>
89 <length>255</length>
90 <comment>What specific url to track</comment>
91 <add>4.5</add>
92 </field>
93 <field>
94 <name>declare_winning_time</name>
95 <type>datetime</type>
96 <title>Declaration Time</title>
97 <comment>In how much time to declare winner</comment>
98 <add>4.5</add>
99 </field>
100 <field>
101 <name>group_percentage</name>
102 <type>int unsigned</type>
103 <title>Group Percentage</title>
104 <add>4.5</add>
105 </field>
106
107 </table>