commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / 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 </field>
29 <field>
30 <name>description</name>
31 <type>varchar</type>
32 <title>Domain Description</title>
33 <length>255</length>
34 <comment>Description of Domain.</comment>
35 <add>1.1</add>
36 </field>
37 <index>
38 <name>UI_name</name>
39 <fieldName>name</fieldName>
40 <unique>true</unique>
41 <add>1.1</add>
42 </index>
43 <field>
44 <name>contact_name</name>
45 <type>varchar</type>
46 <length>64</length>
47 <comment>Name of the person responsible for this domain</comment>
48 <add>1.1</add>
49 <drop>1.9</drop>
50 </field>
51 <field>
52 <name>email_name</name>
53 <type>varchar</type>
54 <length>255</length>
55 <comment>The default email name that is used in the from address for all outgoing emails</comment>
56 <add>1.9</add>
57 <drop>2.2</drop>
58 </field>
59 <field>
60 <name>email_address</name>
61 <type>varchar</type>
62 <length>255</length>
63 <comment>The default email address that is used as the from address for all outgoing emails</comment>
64 <add>1.9</add>
65 <drop>2.2</drop>
66 </field>
67 <field>
68 <name>email_domain</name>
69 <type>varchar</type>
70 <length>64</length>
71 <comment>The domain from which outgoing email for this domain will appear to originate</comment>
72 <add>1.1</add>
73 <drop>2.2</drop>
74 </field>
75 <field>
76 <name>email_return_path</name>
77 <type>varchar</type>
78 <length>64</length>
79 <comment>The domain from which outgoing email for this domain will appear to originate</comment>
80 <add>1.1</add>
81 <drop>2.2</drop>
82 </field>
83 <field>
84 <name>config_backend</name>
85 <type>text</type>
86 <title>Domain Configuration</title>
87 <comment>Backend configuration.</comment>
88 <html>
89 <type>TextArea</type>
90 <rows>20</rows>
91 <cols>80</cols>
92 </html>
93 <add>1.6</add>
94 </field>
95 <field>
96 <name>version</name>
97 <type>varchar</type>
98 <title>CiviCRM Version</title>
99 <length>32</length>
100 <comment>The civicrm version this instance is running</comment>
101 <add>2.0</add>
102 </field>
103 <field>
104 <name>loc_block_id</name>
105 <type>int unsigned</type>
106 <comment>FK to Location Block ID. This is specifically not an FK to avoid circular constraints</comment>
107 <add>2.0</add>
108 <drop>4.3</drop>
109 </field>
110 <field>
111 <name>contact_id</name>
112 <type>int unsigned</type>
113 <title>Domain Contact</title>
114 <comment>FK to Contact ID. This is specifically not an FK to avoid circular constraints</comment>
115 <add>4.3</add>
116 </field>
117 <foreignKey>
118 <name>contact_id</name>
119 <table>civicrm_contact</table>
120 <key>id</key>
121 <add>4.3</add>
122 </foreignKey>
123 <field>
124 <name>locales</name>
125 <type>text</type>
126 <title>Supported Languages</title>
127 <comment>list of locales supported by the current db state (NULL for single-lang install)</comment>
128 <add>2.1</add>
129 </field>
130 <field>
131 <name>locale_custom_strings</name>
132 <type>text</type>
133 <title>Language Customizations</title>
134 <comment>Locale specific string overrides</comment>
135 <html>
136 <type>TextArea</type>
137 <rows>20</rows>
138 <cols>80</cols>
139 </html>
140 <add>3.2</add>
141 </field>
142 </table>