Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>ActionLog</class> | |
6 | <name>civicrm_action_log</name> | |
7 | <comment>Table to store log for the reminder.</comment> | |
8 | <add>3.4</add> | |
9 | <field> | |
8f069c03 | 10 | <name>id</name> |
fa6ace1a | 11 | <title>Action Schedule ID</title> |
8f069c03 EM |
12 | <type>int unsigned</type> |
13 | <required>true</required> | |
0481e12c A |
14 | <html> |
15 | <type>Number</type> | |
16 | </html> | |
8f069c03 | 17 | <add>3.4</add> |
6a488035 TO |
18 | </field> |
19 | <primaryKey> | |
8f069c03 EM |
20 | <name>id</name> |
21 | <autoincrement>true</autoincrement> | |
6a488035 TO |
22 | </primaryKey> |
23 | <field> | |
8f069c03 | 24 | <name>contact_id</name> |
047c5009 | 25 | <title>Contact ID</title> |
8f069c03 EM |
26 | <type>int unsigned</type> |
27 | <comment>FK to Contact ID</comment> | |
57e94608 | 28 | <html> |
047c5009 | 29 | <label>Contact</label> |
57e94608 | 30 | </html> |
8f069c03 | 31 | <add>3.4</add> |
6a488035 TO |
32 | </field> |
33 | <foreignKey> | |
8f069c03 EM |
34 | <name>contact_id</name> |
35 | <table>civicrm_contact</table> | |
36 | <key>id</key> | |
37 | <add>3.4</add> | |
38 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
39 | </foreignKey> |
40 | <field> | |
8f069c03 | 41 | <name>entity_id</name> |
fa6ace1a | 42 | <title>Entity ID</title> |
8f069c03 EM |
43 | <type>int unsigned</type> |
44 | <required>true</required> | |
45 | <comment>FK to id of the entity that the action was performed on. Pseudo - FK.</comment> | |
46 | <add>3.4</add> | |
6a488035 TO |
47 | </field> |
48 | <field> | |
8f069c03 EM |
49 | <name>entity_table</name> |
50 | <type>varchar</type> | |
fa6ace1a | 51 | <title>Entity Table</title> |
8f069c03 EM |
52 | <length>255</length> |
53 | <comment>name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant</comment> | |
54 | <add>3.4</add> | |
6a488035 | 55 | </field> |
71e5aa5c | 56 | <dynamicForeignKey> |
8f069c03 EM |
57 | <idColumn>entity_id</idColumn> |
58 | <typeColumn>entity_table</typeColumn> | |
59 | <add>3.4</add> | |
71e5aa5c | 60 | </dynamicForeignKey> |
6a488035 | 61 | <field> |
8f069c03 | 62 | <name>action_schedule_id</name> |
57e94608 | 63 | <title>Schedule ID</title> |
8f069c03 EM |
64 | <type>int unsigned</type> |
65 | <required>true</required> | |
66 | <comment>FK to the action schedule that this action originated from.</comment> | |
57e94608 A |
67 | <html> |
68 | <label>Schedule</label> | |
69 | </html> | |
8f069c03 | 70 | <add>3.4</add> |
6a488035 TO |
71 | </field> |
72 | <foreignKey> | |
8f069c03 EM |
73 | <name>action_schedule_id</name> |
74 | <table>civicrm_action_schedule</table> | |
75 | <key>id</key> | |
76 | <add>3.4</add> | |
77 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
78 | </foreignKey> |
79 | <field> | |
8f069c03 | 80 | <name>action_date_time</name> |
fa6ace1a | 81 | <title>Action Date And Time</title> |
8f069c03 EM |
82 | <type>datetime</type> |
83 | <comment>date time that the action was performed on.</comment> | |
84 | <add>3.4</add> | |
6a488035 TO |
85 | </field> |
86 | <field> | |
8f069c03 | 87 | <name>is_error</name> |
fa6ace1a | 88 | <title>Error?</title> |
8f069c03 EM |
89 | <type>boolean</type> |
90 | <default>0</default> | |
c1e814c7 | 91 | <required>true</required> |
8f069c03 EM |
92 | <comment>Was there any error sending the reminder?</comment> |
93 | <add>3.4</add> | |
6a488035 TO |
94 | </field> |
95 | <field> | |
8f069c03 | 96 | <name>message</name> |
fa6ace1a | 97 | <title>Message</title> |
8f069c03 EM |
98 | <type>text</type> |
99 | <comment>Description / text in case there was an error encountered.</comment> | |
100 | <add>3.4</add> | |
6a488035 TO |
101 | </field> |
102 | <field> | |
8f069c03 | 103 | <name>repetition_number</name> |
fa6ace1a | 104 | <title>Repetition Number</title> |
8f069c03 EM |
105 | <type>int unsigned</type> |
106 | <comment>Keeps track of the sequence number of this repetition.</comment> | |
107 | <add>3.4</add> | |
6a488035 | 108 | </field> |
5c4d6559 | 109 | <field> |
110 | <name>reference_date</name> | |
fa6ace1a | 111 | <title>Reference Date</title> |
e08fae02 | 112 | <type>datetime</type> |
5c4d6559 | 113 | <default>NULL</default> |
114 | <comment>Stores the date from the entity which triggered this reminder action (e.g. membership.end_date for most membership renewal reminders)</comment> | |
115 | <add>4.6</add> | |
773b5a1c | 116 | <change>5.17</change> |
5c4d6559 | 117 | </field> |
6a488035 | 118 | </table> |