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