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> | |
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> | |
83396bf9 | 24 | <title>Domain Name</title> |
6a488035 TO |
25 | <length>64</length> |
26 | <comment>Name of Domain / Organization</comment> | |
27 | <add>1.1</add> | |
a104f8f5 TM |
28 | <html> |
29 | <type>Text</type> | |
30 | </html> | |
6a488035 TO |
31 | </field> |
32 | <field> | |
33 | <name>description</name> | |
34 | <type>varchar</type> | |
83396bf9 | 35 | <title>Domain Description</title> |
6a488035 TO |
36 | <length>255</length> |
37 | <comment>Description of Domain.</comment> | |
38 | <add>1.1</add> | |
a104f8f5 TM |
39 | <html> |
40 | <type>Text</type> | |
41 | </html> | |
6a488035 TO |
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>contact_name</name> | |
51 | <type>varchar</type> | |
52 | <length>64</length> | |
53 | <comment>Name of the person responsible for this domain</comment> | |
54 | <add>1.1</add> | |
55 | <drop>1.9</drop> | |
56 | </field> | |
57 | <field> | |
58 | <name>email_name</name> | |
59 | <type>varchar</type> | |
60 | <length>255</length> | |
61 | <comment>The default email name that is used in the from address for all outgoing emails</comment> | |
62 | <add>1.9</add> | |
63 | <drop>2.2</drop> | |
64 | </field> | |
65 | <field> | |
66 | <name>email_address</name> | |
67 | <type>varchar</type> | |
68 | <length>255</length> | |
69 | <comment>The default email address that is used as the from address for all outgoing emails</comment> | |
70 | <add>1.9</add> | |
71 | <drop>2.2</drop> | |
72 | </field> | |
73 | <field> | |
74 | <name>email_domain</name> | |
75 | <type>varchar</type> | |
76 | <length>64</length> | |
77 | <comment>The domain from which outgoing email for this domain will appear to originate</comment> | |
78 | <add>1.1</add> | |
79 | <drop>2.2</drop> | |
80 | </field> | |
81 | <field> | |
82 | <name>email_return_path</name> | |
83 | <type>varchar</type> | |
84 | <length>64</length> | |
85 | <comment>The domain from which outgoing email for this domain will appear to originate</comment> | |
86 | <add>1.1</add> | |
87 | <drop>2.2</drop> | |
88 | </field> | |
89 | <field> | |
90 | <name>config_backend</name> | |
91 | <type>text</type> | |
83396bf9 | 92 | <title>Domain Configuration</title> |
6a488035 | 93 | <comment>Backend configuration.</comment> |
7deea513 | 94 | <html> |
95 | <type>TextArea</type> | |
817807ab | 96 | <rows>20</rows> |
97 | <cols>80</cols> | |
7deea513 | 98 | </html> |
6a488035 TO |
99 | <add>1.6</add> |
100 | </field> | |
101 | <field> | |
102 | <name>version</name> | |
103 | <type>varchar</type> | |
83396bf9 | 104 | <title>CiviCRM Version</title> |
6a488035 TO |
105 | <length>32</length> |
106 | <comment>The civicrm version this instance is running</comment> | |
107 | <add>2.0</add> | |
108 | </field> | |
109 | <field> | |
110 | <name>loc_block_id</name> | |
111 | <type>int unsigned</type> | |
112 | <comment>FK to Location Block ID. This is specifically not an FK to avoid circular constraints</comment> | |
113 | <add>2.0</add> | |
114 | <drop>4.3</drop> | |
115 | </field> | |
116 | <field> | |
117 | <name>contact_id</name> | |
118 | <type>int unsigned</type> | |
83396bf9 | 119 | <title>Domain Contact</title> |
6a488035 TO |
120 | <comment>FK to Contact ID. This is specifically not an FK to avoid circular constraints</comment> |
121 | <add>4.3</add> | |
122 | </field> | |
3c7d2158 | 123 | <foreignKey> |
124 | <name>contact_id</name> | |
125 | <table>civicrm_contact</table> | |
126 | <key>id</key> | |
127 | <add>4.3</add> | |
128 | </foreignKey> | |
6a488035 TO |
129 | <field> |
130 | <name>locales</name> | |
131 | <type>text</type> | |
83396bf9 | 132 | <title>Supported Languages</title> |
6a488035 TO |
133 | <comment>list of locales supported by the current db state (NULL for single-lang install)</comment> |
134 | <add>2.1</add> | |
135 | </field> | |
136 | <field> | |
137 | <name>locale_custom_strings</name> | |
138 | <type>text</type> | |
83396bf9 | 139 | <title>Language Customizations</title> |
6a488035 | 140 | <comment>Locale specific string overrides</comment> |
7deea513 | 141 | <html> |
142 | <type>TextArea</type> | |
817807ab | 143 | <rows>20</rows> |
144 | <cols>80</cols> | |
7deea513 | 145 | </html> |
6a488035 TO |
146 | <add>3.2</add> |
147 | </field> | |
148 | </table> |