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