1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_setting
</name>
7 <comment>Table to store civicrm settings for civicrm core and components.
</comment>
11 <title>Setting ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
18 <autoincrement>true
</autoincrement>
21 <name>group_name
</name>
22 <title>Setting Group
</title>
25 <required>true
</required>
26 <comment>group name for setting element, useful in caching setting elements
</comment>
32 <title>Setting Name
</title>
35 <comment>Unique name for setting
</comment>
39 <name>index_group_name
</name>
40 <fieldName>group_name
</fieldName>
41 <fieldName>name
</fieldName>
48 <comment>data associated with this group / name combo
</comment>
52 <name>domain_id
</name>
53 <title>Setting Domain
</title>
54 <type>int unsigned
</type>
55 <required>true
</required>
57 <table>civicrm_domain
</table>
58 <keyColumn>id
</keyColumn>
59 <labelColumn>name
</labelColumn>
61 <comment>Which Domain is this menu item for
</comment>
65 <name>domain_id
</name>
66 <table>civicrm_domain
</table>
68 <onDelete>CASCADE
</onDelete>
72 <name>contact_id
</name>
73 <title>Setting Contact
</title>
74 <type>int unsigned
</type>
75 <comment>FK to Contact ID if the setting is localized to a contact
</comment>
79 <name>contact_id
</name>
80 <table>civicrm_contact
</table>
82 <onDelete>CASCADE
</onDelete>
86 <name>is_domain
</name>
87 <title>Is Domain Setting?
</title>
89 <comment>Is this setting a contact specific or site wide setting?
</comment>
93 <name>component_id
</name>
94 <title>Setting Component
</title>
95 <type>int unsigned
</type>
96 <comment>Component that this menu item belongs to
</comment>
99 <table>civicrm_component
</table>
100 <keyColumn>id
</keyColumn>
101 <labelColumn>name
</labelColumn>
108 <name>component_id
</name>
109 <table>civicrm_component
</table>
114 <name>created_date
</name>
115 <title>Setting Created Date
</title>
116 <type>datetime
</type>
117 <comment>When was the setting created
</comment>
121 <name>created_id
</name>
122 <title>Setting Created By
</title>
123 <type>int unsigned
</type>
124 <comment>FK to civicrm_contact, who created this setting
</comment>
128 <name>created_id
</name>
129 <table>civicrm_contact
</table>
132 <onDelete>SET NULL
</onDelete>
135 <name>index_domain_contact_name
</name>
136 <fieldName>domain_id
</fieldName>
137 <fieldName>contact_id
</fieldName>
138 <fieldName>name
</fieldName>
139 <unique>true
</unique>