Add html tag to all files in xml/schema
[civicrm-core.git] / xml / schema / Core / Website.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>Website</class>
6 <name>civicrm_website</name>
7 <comment>Website information for a specific location.</comment>
8 <add>3.2</add>
9 <icon>fa-desktop</icon>
10 <labelField>url</labelField>
11 <field>
12 <name>id</name>
13 <type>int unsigned</type>
14 <title>Website ID</title>
15 <required>true</required>
16 <comment>Unique Website ID</comment>
17 <html>
18 <type>Number</type>
19 </html>
20 <add>3.2</add>
21 </field>
22 <primaryKey>
23 <name>id</name>
24 <autoincrement>true</autoincrement>
25 </primaryKey>
26 <field>
27 <name>contact_id</name>
28 <title>Contact</title>
29 <type>int unsigned</type>
30 <comment>FK to Contact ID</comment>
31 <add>3.2</add>
32 </field>
33 <foreignKey>
34 <name>contact_id</name>
35 <table>civicrm_contact</table>
36 <key>id</key>
37 <add>3.2</add>
38 <onDelete>CASCADE</onDelete>
39 </foreignKey>
40 <field>
41 <name>url</name>
42 <title>Website</title>
43 <type>varchar</type>
44 <length>128</length>
45 <html>
46 <type>Text</type>
47 <size>30</size>
48 </html>
49 <import>true</import>
50 <headerPattern>/Website/i</headerPattern>
51 <dataPattern>/^[A-Za-z][0-9A-Za-z]{20,}$/</dataPattern>
52 <comment>Website</comment>
53 <add>3.2</add>
54 </field>
55 <field>
56 <name>website_type_id</name>
57 <title>Website Type</title>
58 <type>int unsigned</type>
59 <comment>Which Website type does this website belong to.</comment>
60 <add>3.2</add>
61 <pseudoconstant>
62 <optionGroupName>website_type</optionGroupName>
63 </pseudoconstant>
64 <html>
65 <type>Select</type>
66 </html>
67 </field>
68 <index>
69 <name>UI_website_type_id</name>
70 <fieldName>website_type_id</fieldName>
71 <add>3.2</add>
72 </index>
73 </table>