Version change in xml
[civicrm-core.git] / xml / schema / Mailing / TrackableURL.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
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>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 </field>
14 <primaryKey>
15 <name>id</name>
16 <autoincrement>true</autoincrement>
17 </primaryKey>
18 <field>
19 <name>url</name>
20 <type>varchar</type>
21 <length>255</length>
22 <required>true</required>
23 <comment>The URL to be tracked.</comment>
24 </field>
25 <field>
26 <name>mailing_id</name>
27 <type>int unsigned</type>
28 <required>true</required>
29 <comment>FK to the mailing</comment>
30 </field>
31 <foreignKey>
32 <name>mailing_id</name>
33 <table>civicrm_mailing</table>
34 <key>id</key>
35 <onDelete>CASCADE</onDelete>
36 </foreignKey>
37 </table>