CRM-13497 - Add html type to schema xml
[civicrm-core.git] / xml / schema / Core / Domain.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>Domain</class>
6 <name>civicrm_domain</name>
7 <comment>Top-level hierarchy to support multi-org/domain installations. Define domains for multi-org installs, else all contacts belong to one domain.</comment>
8 <add>1.1</add>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Domain ID</comment>
14 <add>1.1</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>name</name>
22 <type>varchar</type>
23 <length>64</length>
24 <comment>Name of Domain / Organization</comment>
25 <add>1.1</add>
26 </field>
27 <field>
28 <name>description</name>
29 <type>varchar</type>
30 <length>255</length>
31 <comment>Description of Domain.</comment>
32 <add>1.1</add>
33 </field>
34 <index>
35 <name>UI_name</name>
36 <fieldName>name</fieldName>
37 <unique>true</unique>
38 <add>1.1</add>
39 </index>
40 <field>
41 <name>contact_name</name>
42 <type>varchar</type>
43 <length>64</length>
44 <comment>Name of the person responsible for this domain</comment>
45 <add>1.1</add>
46 <drop>1.9</drop>
47 </field>
48 <field>
49 <name>email_name</name>
50 <type>varchar</type>
51 <length>255</length>
52 <comment>The default email name that is used in the from address for all outgoing emails</comment>
53 <add>1.9</add>
54 <drop>2.2</drop>
55 </field>
56 <field>
57 <name>email_address</name>
58 <type>varchar</type>
59 <length>255</length>
60 <comment>The default email address that is used as the from address for all outgoing emails</comment>
61 <add>1.9</add>
62 <drop>2.2</drop>
63 </field>
64 <field>
65 <name>email_domain</name>
66 <type>varchar</type>
67 <length>64</length>
68 <comment>The domain from which outgoing email for this domain will appear to originate</comment>
69 <add>1.1</add>
70 <drop>2.2</drop>
71 </field>
72 <field>
73 <name>email_return_path</name>
74 <type>varchar</type>
75 <length>64</length>
76 <comment>The domain from which outgoing email for this domain will appear to originate</comment>
77 <add>1.1</add>
78 <drop>2.2</drop>
79 </field>
80 <field>
81 <name>config_backend</name>
82 <type>text</type>
83 <comment>Backend configuration.</comment>
84 <html>
85 <type>TextArea</type>
86 </html>
87
88 <rows>20</rows>
89 <cols>80</cols>
90 <add>1.6</add>
91 </field>
92 <field>
93 <name>version</name>
94 <type>varchar</type>
95 <length>32</length>
96 <comment>The civicrm version this instance is running</comment>
97 <add>2.0</add>
98 </field>
99 <field>
100 <name>loc_block_id</name>
101 <type>int unsigned</type>
102 <comment>FK to Location Block ID. This is specifically not an FK to avoid circular constraints</comment>
103 <add>2.0</add>
104 <drop>4.3</drop>
105 </field>
106 <field>
107 <name>contact_id</name>
108 <type>int unsigned</type>
109 <comment>FK to Contact ID. This is specifically not an FK to avoid circular constraints</comment>
110 <add>4.3</add>
111 </field>
112 <foreignKey>
113 <name>contact_id</name>
114 <table>civicrm_contact</table>
115 <key>id</key>
116 <add>4.3</add>
117 </foreignKey>
118 <field>
119 <name>locales</name>
120 <type>text</type>
121 <comment>list of locales supported by the current db state (NULL for single-lang install)</comment>
122 <add>2.1</add>
123 </field>
124 <field>
125 <name>locale_custom_strings</name>
126 <type>text</type>
127 <comment>Locale specific string overrides</comment>
128 <html>
129 <type>TextArea</type>
130 </html>
131
132 <rows>20</rows>
133 <cols>80</cols>
134 <add>3.2</add>
135 </field>
136 </table>