Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
5435b737 EM |
4 | <base>CRM/Mailing</base> |
5 | <class>TrackableURL</class> | |
6 | <name>civicrm_mailing_trackable_url</name> | |
7 | <comment>Stores URLs for which we should track click-throughs from mailings</comment> | |
8 | <archive>true</archive> | |
d31fb4e3 | 9 | <component>CiviMail</component> |
5435b737 EM |
10 | <field> |
11 | <name>id</name> | |
fa6ace1a | 12 | <title>Trackable URL ID</title> |
5435b737 EM |
13 | <type>int unsigned</type> |
14 | <required>true</required> | |
0481e12c A |
15 | <html> |
16 | <type>Number</type> | |
17 | </html> | |
5435b737 EM |
18 | </field> |
19 | <primaryKey> | |
20 | <name>id</name> | |
21 | <autoincrement>true</autoincrement> | |
22 | </primaryKey> | |
23 | <field> | |
24 | <name>url</name> | |
fa6ace1a | 25 | <title>Url</title> |
26 | <type>text</type> | |
5435b737 EM |
27 | <required>true</required> |
28 | <comment>The URL to be tracked.</comment> | |
29 | </field> | |
30 | <field> | |
31 | <name>mailing_id</name> | |
57e94608 | 32 | <title>Mailing ID</title> |
5435b737 EM |
33 | <type>int unsigned</type> |
34 | <required>true</required> | |
57e94608 A |
35 | <html> |
36 | <label>Mailing</label> | |
37 | </html> | |
5435b737 EM |
38 | <comment>FK to the mailing</comment> |
39 | </field> | |
40 | <foreignKey> | |
41 | <name>mailing_id</name> | |
42 | <table>civicrm_mailing</table> | |
43 | <key>id</key> | |
44 | <onDelete>CASCADE</onDelete> | |
45 | </foreignKey> | |
6a488035 | 46 | </table> |