Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>ActionSchedule</class> | |
6 | <name>civicrm_action_schedule</name> | |
7 | <comment>Table to store the reminders.</comment> | |
8 | <add>3.4</add> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <add>3.4</add> | |
14 | </field> | |
15 | <primaryKey> | |
16 | <name>id</name> | |
17 | <autoincrement>true</autoincrement> | |
18 | </primaryKey> | |
19 | <field> | |
20 | <name>name</name> | |
21 | <title>Name</title> | |
22 | <type>varchar</type> | |
23 | <length>64</length> | |
24 | <comment>Name of the action(reminder)</comment> | |
25 | <add>3.4</add> | |
26 | </field> | |
27 | <field> | |
28 | <name>title</name> | |
29 | <title>Title</title> | |
30 | <type>varchar</type> | |
31 | <length>64</length> | |
32 | <comment>Title of the action(reminder)</comment> | |
33 | <add>3.4</add> | |
34 | </field> | |
35 | <field> | |
36 | <name>recipient</name> | |
37 | <type>varchar</type> | |
38 | <length>64</length> | |
39 | <comment>Recipient</comment> | |
40 | <add>3.4</add> | |
41 | </field> | |
42 | <field> | |
43 | <name>entity_value</name> | |
44 | <type>varchar</type> | |
45 | <length>64</length> | |
46 | <comment>Entity value</comment> | |
47 | <add>3.4</add> | |
48 | </field> | |
49 | <field> | |
50 | <name>entity_status</name> | |
51 | <type>varchar</type> | |
52 | <length>64</length> | |
53 | <comment>Entity status</comment> | |
54 | <add>3.4</add> | |
55 | </field> | |
56 | <field> | |
57 | <name>start_action_offset</name> | |
58 | <type>int unsigned</type> | |
59 | <comment>Reminder Interval.</comment> | |
60 | <add>3.4</add> | |
61 | </field> | |
62 | <field> | |
63 | <name>start_action_unit</name> | |
64 | <type>enum</type> | |
65 | <values>hour,day,week,month,year</values> | |
66 | <comment>Time units for reminder.</comment> | |
67 | <add>3.4</add> | |
68 | </field> | |
69 | <field> | |
70 | <name>start_action_condition</name> | |
71 | <type>varchar</type> | |
72 | <length>32</length> | |
73 | <comment>Reminder Action</comment> | |
74 | <add>3.4</add> | |
75 | </field> | |
76 | <field> | |
77 | <name>start_action_date</name> | |
78 | <type>varchar</type> | |
79 | <length>64</length> | |
80 | <comment>Entity date</comment> | |
81 | <add>3.4</add> | |
82 | </field> | |
83 | <field> | |
84 | <name>is_repeat</name> | |
85 | <title>Repeat?</title> | |
86 | <type>boolean</type> | |
87 | <default>0</default> | |
88 | <add>3.4</add> | |
89 | </field> | |
90 | <field> | |
91 | <name>repetition_frequency_unit</name> | |
92 | <type>enum</type> | |
93 | <values>hour,day,week,month,year</values> | |
94 | <comment>Time units for repetition of reminder.</comment> | |
95 | <add>3.4</add> | |
96 | </field> | |
97 | <field> | |
98 | <name>repetition_frequency_interval</name> | |
99 | <type>int unsigned</type> | |
100 | <comment>Time interval for repeating the reminder.</comment> | |
101 | <add>3.4</add> | |
102 | </field> | |
103 | <field> | |
104 | <name>end_frequency_unit</name> | |
105 | <type>enum</type> | |
106 | <values>hour,day,week,month,year</values> | |
107 | <comment>Time units till repetition of reminder.</comment> | |
108 | <add>3.4</add> | |
109 | </field> | |
110 | <field> | |
111 | <name>end_frequency_interval</name> | |
112 | <type>int unsigned</type> | |
113 | <comment>Time interval till repeating the reminder.</comment> | |
114 | <add>3.4</add> | |
115 | </field> | |
116 | <field> | |
117 | <name>end_action</name> | |
118 | <type>varchar</type> | |
119 | <length>32</length> | |
120 | <comment>Reminder Action till repeating the reminder.</comment> | |
121 | <add>3.4</add> | |
122 | </field> | |
123 | <field> | |
124 | <name>end_date</name> | |
125 | <type>varchar</type> | |
126 | <length>64</length> | |
127 | <comment>Entity end date</comment> | |
128 | <add>3.4</add> | |
129 | </field> | |
130 | <field> | |
131 | <name>is_active</name> | |
132 | <type>boolean</type> | |
133 | <default>1</default> | |
134 | <comment>Is this option active?</comment> | |
135 | <add>3.4</add> | |
136 | </field> | |
137 | <field> | |
138 | <name>recipient_manual</name> | |
139 | <title>Recipient Manual</title> | |
140 | <type>varchar</type> | |
141 | <length>128</length> | |
142 | <comment>Contact IDs to which reminder should be sent.</comment> | |
143 | <add>3.4</add> | |
144 | </field> | |
145 | <field> | |
146 | <name>recipient_listing</name> | |
147 | <title>Recipient Listing</title> | |
148 | <type>varchar</type> | |
149 | <length>128</length> | |
150 | <comment>listing based on recipient field.</comment> | |
151 | <add>4.1</add> | |
152 | </field> | |
153 | <field> | |
154 | <name>body_text</name> | |
155 | <type>longtext</type> | |
156 | <comment>Body of the mailing in text format.</comment> | |
157 | <add>3.4</add> | |
158 | </field> | |
159 | <field> | |
160 | <name>body_html</name> | |
161 | <type>longtext</type> | |
162 | <comment>Body of the mailing in html format.</comment> | |
163 | <add>3.4</add> | |
164 | </field> | |
165 | <field> | |
166 | <name>subject</name> | |
167 | <type>varchar</type> | |
168 | <length>128</length> | |
169 | <comment>Subject of mailing</comment> | |
170 | <add>3.4</add> | |
171 | </field> | |
172 | <field> | |
173 | <name>record_activity</name> | |
174 | <type>boolean</type> | |
175 | <default>NULL</default> | |
176 | <comment>Record Activity for this reminder?</comment> | |
177 | <add>3.4</add> | |
178 | </field> | |
179 | <field> | |
180 | <name>mapping_id</name> | |
181 | <type>int unsigned</type> | |
182 | <comment>FK to mapping which is being used by this reminder</comment> | |
183 | <add>3.4</add> | |
184 | </field> | |
185 | <foreignKey> | |
186 | <name>mapping_id</name> | |
187 | <table>civicrm_action_mapping</table> | |
188 | <key>id</key> | |
189 | <onDelete>SET NULL</onDelete> | |
190 | </foreignKey> | |
191 | <field> | |
192 | <name>group_id</name> | |
193 | <type>int unsigned</type> | |
194 | <comment>FK to Group</comment> | |
195 | <add>3.4</add> | |
196 | </field> | |
197 | <foreignKey> | |
198 | <name>group_id</name> | |
199 | <table>civicrm_group</table> | |
200 | <key>id</key> | |
201 | <onDelete>SET NULL</onDelete> | |
202 | </foreignKey> | |
203 | <field> | |
204 | <name>msg_template_id</name> | |
205 | <type>int unsigned</type> | |
206 | <comment>FK to the message template.</comment> | |
207 | </field> | |
208 | <foreignKey> | |
209 | <name>msg_template_id</name> | |
210 | <table>civicrm_msg_template</table> | |
211 | <key>id</key> | |
212 | <onDelete>SET NULL</onDelete> | |
213 | </foreignKey> | |
214 | <field> | |
215 | <name>absolute_date</name> | |
216 | <type>date</type> | |
217 | <comment>Date on which the reminder be sent.</comment> | |
218 | <add>4.1</add> | |
219 | </field> | |
220 | </table> |