Merge pull request #19085 from eileenmcnaughton/words
[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 <title>Domain ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Domain ID</comment>
15 <add>1.1</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>name</name>
23 <type>varchar</type>
24 <title>Domain Name</title>
25 <length>64</length>
26 <comment>Name of Domain / Organization</comment>
27 <add>1.1</add>
28 <html>
29 <type>Text</type>
30 </html>
31 </field>
32 <field>
33 <name>description</name>
34 <type>varchar</type>
35 <title>Domain Description</title>
36 <length>255</length>
37 <comment>Description of Domain.</comment>
38 <add>1.1</add>
39 <html>
40 <type>Text</type>
41 </html>
42 </field>
43 <index>
44 <name>UI_name</name>
45 <fieldName>name</fieldName>
46 <unique>true</unique>
47 <add>1.1</add>
48 </index>
49 <field>
50 <name>config_backend</name>
51 <type>text</type>
52 <title>Domain Configuration</title>
53 <comment>Backend configuration.</comment>
54 <serialize>PHP</serialize>
55 <add>1.6</add>
56 <drop>5.23</drop>
57 </field>
58 <field>
59 <name>version</name>
60 <type>varchar</type>
61 <title>CiviCRM Version</title>
62 <length>32</length>
63 <comment>The civicrm version this instance is running</comment>
64 <add>2.0</add>
65 </field>
66 <field>
67 <name>contact_id</name>
68 <type>int unsigned</type>
69 <title>Domain Contact</title>
70 <comment>FK to Contact ID. This is specifically not an FK to avoid circular constraints</comment>
71 <add>4.3</add>
72 </field>
73 <foreignKey>
74 <name>contact_id</name>
75 <table>civicrm_contact</table>
76 <key>id</key>
77 <add>4.3</add>
78 </foreignKey>
79 <field>
80 <name>locales</name>
81 <type>text</type>
82 <title>Supported Languages</title>
83 <comment>list of locales supported by the current db state (NULL for single-lang install)</comment>
84 <serialize>SEPARATOR_TRIMMED</serialize>
85 <add>2.1</add>
86 </field>
87 <field>
88 <name>locale_custom_strings</name>
89 <type>text</type>
90 <title>Language Customizations</title>
91 <comment>Locale specific string overrides</comment>
92 <serialize>PHP</serialize>
93 <add>3.2</add>
94 </field>
95 </table>