CRM-15168 stdise whitespace across schema xml to make editing easier
authorEileen McNaughton <eileen@fuzion.co.nz>
Sun, 24 Aug 2014 22:18:39 +0000 (10:18 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sun, 24 Aug 2014 22:18:39 +0000 (10:18 +1200)
59 files changed:
xml/schema/Bridge/OG.xml
xml/schema/Bridge/Role.xml
xml/schema/Case/Case.xml
xml/schema/Contact/ACLContactCache.xml
xml/schema/Contact/Contact.xml
xml/schema/Contact/DashboardContact.xml
xml/schema/Contact/Group.xml
xml/schema/Contact/GroupContact.xml
xml/schema/Contact/GroupContactCache.xml
xml/schema/Contact/Household.xml
xml/schema/Contact/Individual.xml
xml/schema/Contact/Organization.xml
xml/schema/Contact/Relationship.xml
xml/schema/Contact/RelationshipType.xml
xml/schema/Contact/SavedSearch.xml
xml/schema/Contact/SubscriptionHistory.xml
xml/schema/Contribute/ContributionSoft.xml
xml/schema/Contribute/Widget.xml
xml/schema/Core/ActionLog.xml
xml/schema/Core/ActionMapping.xml
xml/schema/Core/ActionSchedule.xml
xml/schema/Core/Address.xml
xml/schema/Core/AddressFormat.xml
xml/schema/Core/Cache.xml
xml/schema/Core/Component.xml
xml/schema/Core/EntityFile.xml
xml/schema/Core/EntityTag.xml
xml/schema/Core/File.xml
xml/schema/Core/IM.xml
xml/schema/Core/Job.xml
xml/schema/Core/JobLog.xml
xml/schema/Core/LocationType.xml
xml/schema/Core/Log.xml
xml/schema/Core/Mapping.xml
xml/schema/Core/MappingField.xml
xml/schema/Core/Menu.xml
xml/schema/Core/MessageTemplate.xml
xml/schema/Core/Navigation.xml
xml/schema/Core/OpenID.xml
xml/schema/Core/Persistent.xml
xml/schema/Core/Preferences.xml
xml/schema/Core/PreferencesDate.xml
xml/schema/Core/PrevNextCache.xml
xml/schema/Core/Setting.xml
xml/schema/Core/StateProvince.xml
xml/schema/Core/Tag.xml
xml/schema/Core/Timezone.xml
xml/schema/Core/UFGroup.xml
xml/schema/Core/UFJoin.xml
xml/schema/Core/UFMatch.xml
xml/schema/Core/Website.xml
xml/schema/Core/Worldregion.xml
xml/schema/Event/EventPage.xml
xml/schema/Event/Participant.xml
xml/schema/Event/ParticipantPayment.xml
xml/schema/Financial/Currency.xml
xml/schema/Financial/PaymentProcessorType.xml
xml/schema/Friend/Friend.xml
xml/schema/Queue/QueueItem.xml

index 46f30a553ee6ac490454a364d4ca9a1ec852fd66..14256e1f4963e9d9922a702f5013651799d0eb36 100644 (file)
@@ -7,93 +7,93 @@
   <comment>An FK table that links between drupal organic group, civicrm group and civicrm acl roles</comment>
   <add>2.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique table ID</comment>
-      <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique table ID</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>drupal_og_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to the organic group.</comment>
-       <add>2.0</add>
+    <name>drupal_og_id</name>
+    <type>int unsigned</type>
+    <comment>Foreign key to the organic group.</comment>
+    <add>2.0</add>
   </field>
   <index>
-       <name>index_drupal_og_id</name>
-       <fieldName>index_drupal_og_id</fieldName>
-       <add>2.0</add>
+    <name>index_drupal_og_id</name>
+    <fieldName>index_drupal_og_id</fieldName>
+    <add>2.0</add>
   </index>
   <field>
-      <name>group_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm group.</comment>
-      <add>2.0</add>
-      <pseudoconstant>
-        <table>civicrm_group</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>title</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>group_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm group.</comment>
+    <add>2.0</add>
+    <pseudoconstant>
+      <table>civicrm_group</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>2.0</add>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>2.0</add>
   </foreignKey>
   <field>
-      <name>acl_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm acl.</comment>
-      <add>2.0</add>
+    <name>acl_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm acl.</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>acl_id</name>
-       <table>civicrm_acl</table>
-       <key>id</key>
-       <add>2.0</add>
+    <name>acl_id</name>
+    <table>civicrm_acl</table>
+    <key>id</key>
+    <add>2.0</add>
   </foreignKey>
   <field>
-      <name>admin_group_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to admin civicrm group.</comment>
-      <add>2.0</add>
-      <pseudoconstant>
-        <table>civicrm_group</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>title</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>admin_group_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to admin civicrm group.</comment>
+    <add>2.0</add>
+    <pseudoconstant>
+      <table>civicrm_group</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>admin_group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>2.0</add>
+    <name>admin_group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>2.0</add>
   </foreignKey>
   <field>
-      <name>admin_acl_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm acl.</comment>
-      <add>2.0</add>
+    <name>admin_acl_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm acl.</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>admin_acl_id</name>
-       <table>civicrm_acl</table>
-       <key>id</key>
-       <add>2.0</add>
+    <name>admin_acl_id</name>
+    <table>civicrm_acl</table>
+    <key>id</key>
+    <add>2.0</add>
   </foreignKey>
 </table>
index 2b1357ddd37827ec958ae3c1a4ad56c03e0b4c8e..52f01cde2aa491a11b6502083509d46ec71e3697 100644 (file)
@@ -7,26 +7,26 @@
   <comment>An FK table that links between civicrm group and drupal roles</comment>
   <add>2.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique table ID</comment>
-      <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique table ID</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>drupal_role_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to the drupal role.</comment>
-       <add>2.0</add>
+    <name>drupal_role_id</name>
+    <type>int unsigned</type>
+    <comment>Foreign key to the drupal role.</comment>
+    <add>2.0</add>
   </field>
   <index>
-       <name>index_drupal_role_id</name>
-       <fieldName>index_drupal_role_id</fieldName>
-       <add>2.0</add>
+    <name>index_drupal_role_id</name>
+    <fieldName>index_drupal_role_id</fieldName>
+    <add>2.0</add>
   </index>
   <field>
     <name>group_id</name>
@@ -44,9 +44,9 @@
     </html>
   </field>
   <foreignKey>
-       <name>group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>2.0</add>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>2.0</add>
   </foreignKey>
 </table>
index 77b565673d87bc904180c05ab70ee4c42ffabb28..99ccfae54bfe2417bdd886ec7d382fa439b03968 100644 (file)
   <add>1.8</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <uniqueName>case_id</uniqueName>
-      <required>true</required>
-      <import>true</import>
-      <title>Case ID</title>
-      <comment>Unique Case ID</comment>
-       <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <uniqueName>case_id</uniqueName>
+    <required>true</required>
+    <import>true</import>
+    <title>Case ID</title>
+    <comment>Unique Case ID</comment>
+    <add>1.8</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <uniqueName>case_contact_id</uniqueName>
-      <required>true</required>
-      <comment>Contact ID of contact record given case belongs to.</comment>
-       <add>1.8</add>
-       <drop>2.1</drop>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <uniqueName>case_contact_id</uniqueName>
+    <required>true</required>
+    <comment>Contact ID of contact record given case belongs to.</comment>
+    <add>1.8</add>
+    <drop>2.1</drop>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.8</add>
-       <drop>2.1</drop>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.8</add>
+    <drop>2.1</drop>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>case_type_id</name>
-       <type>int unsigned</type>
-       <import>true</import>
-       <export>false</export>
-       <title>Case Type</title>
-       <comment>FK to civicrm_case_type.id</comment>
-       <html>
-         <type>Select</type>
-       </html>
-       <pseudoconstant>
-         <table>civicrm_case_type</table>
-         <keyColumn>id</keyColumn>
-         <labelColumn>title</labelColumn>
-       </pseudoconstant>
-       <add>2.0</add>
+    <name>case_type_id</name>
+    <type>int unsigned</type>
+    <import>true</import>
+    <export>false</export>
+    <title>Case Type</title>
+    <comment>FK to civicrm_case_type.id</comment>
+    <html>
+      <type>Select</type>
+    </html>
+    <pseudoconstant>
+      <table>civicrm_case_type</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <add>2.0</add>
   </field>
   <index>
-       <name>index_case_type_id</name>
-       <fieldName>case_type_id</fieldName>
-       <add>2.0</add>
+    <name>index_case_type_id</name>
+    <fieldName>case_type_id</fieldName>
+    <add>2.0</add>
   </index>
   <foreignKey>
-       <name>case_type_id</name>
-       <table>civicrm_case_type</table>
-       <key>id</key>
-       <add>4.5</add>
-       <onDelete>SET NULL</onDelete>
+    <name>case_type_id</name>
+    <table>civicrm_case_type</table>
+    <key>id</key>
+    <add>4.5</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-       <name>casetag1_id</name>
-       <type>varchar</type>
-       <length>128</length>
-       <required>true</required>
-       <comment>Id of first case category.</comment>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>casetag1_id</name>
+    <type>varchar</type>
+    <length>128</length>
+    <required>true</required>
+    <comment>Id of first case category.</comment>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </field>
   <index>
-       <name>index_casetag1_id</name>
-       <fieldName>casetag1_id</fieldName>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>index_casetag1_id</name>
+    <fieldName>casetag1_id</fieldName>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </index>
   <field>
-       <name>casetag2_id</name>
-       <type>varchar</type>
-       <length>128</length>
-       <required>true</required>
-       <comment>Id of second case category.</comment>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>casetag2_id</name>
+    <type>varchar</type>
+    <length>128</length>
+    <required>true</required>
+    <comment>Id of second case category.</comment>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </field>
   <index>
-       <name>index_casetag2_id</name>
-       <fieldName>casetag2_id</fieldName>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>index_casetag2_id</name>
+    <fieldName>casetag2_id</fieldName>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </index>
   <field>
-       <name>casetag3_id</name>
-       <type>varchar</type>
-       <length>128</length>
-       <required>true</required>
-       <comment>Id of third case category.</comment>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>casetag3_id</name>
+    <type>varchar</type>
+    <length>128</length>
+    <required>true</required>
+    <comment>Id of third case category.</comment>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </field>
   <index>
-       <name>index_casetag3_id</name>
-       <fieldName>casetag3_id</fieldName>
-       <add>1.8</add>
-       <drop>2.0</drop>
+    <name>index_casetag3_id</name>
+    <fieldName>casetag3_id</fieldName>
+    <add>1.8</add>
+    <drop>2.0</drop>
   </index>
   <field>
-      <name>subject</name>
-      <type>varchar</type>
-      <length>128</length>
-      <title>Case Subject</title>
-      <import>true</import>
-      <uniqueName>case_subject</uniqueName>
-      <comment>Short name of the case.</comment>
-      <html>
-         <type>Text</type>
-      </html>
-      <add>1.8</add>
+    <name>subject</name>
+    <type>varchar</type>
+    <length>128</length>
+    <title>Case Subject</title>
+    <import>true</import>
+    <uniqueName>case_subject</uniqueName>
+    <comment>Short name of the case.</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>1.8</add>
   </field>
-    <field>
-     <name>start_date</name>
-     <uniqueName>case_start_date</uniqueName>
-     <title>Case Start Date</title>
-     <import>true</import>
-     <type>date</type>
-     <comment>Date on which given case starts.</comment>
-     <html>
-         <type>Select Date</type>
-     </html>
-     <add>1.8</add>
+  <field>
+    <name>start_date</name>
+    <uniqueName>case_start_date</uniqueName>
+    <title>Case Start Date</title>
+    <import>true</import>
+    <type>date</type>
+    <comment>Date on which given case starts.</comment>
+    <html>
+      <type>Select Date</type>
+    </html>
+    <add>1.8</add>
   </field>
   <field>
-     <name>end_date</name>
-     <uniqueName>case_end_date</uniqueName>
-     <title>Case End Date</title>
-     <import>true</import>
-     <type>date</type>
-     <comment>Date on which given case ends.</comment>
-     <html>
-         <type>Select Date</type>
-      </html>
-     <add>1.8</add>
+    <name>end_date</name>
+    <uniqueName>case_end_date</uniqueName>
+    <title>Case End Date</title>
+    <import>true</import>
+    <type>date</type>
+    <comment>Date on which given case ends.</comment>
+    <html>
+      <type>Select Date</type>
+    </html>
+    <add>1.8</add>
   </field>
   <field>
-      <name>details</name>
-      <type>text</type>
-      <html>
-        <type>TextArea</type>
-        <rows>8</rows>
-        <cols>60</cols>
-      </html>
-      <comment>Details about the meeting (agenda, notes, etc).</comment>
-      <add>1.8</add>
+    <name>details</name>
+    <type>text</type>
+    <html>
+      <type>TextArea</type>
+      <rows>8</rows>
+      <cols>60</cols>
+    </html>
+    <comment>Details about the meeting (agenda, notes, etc).</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>status_id</name>
-       <type>int unsigned</type>
-       <uniqueName>case_status_id</uniqueName>
-       <required>true</required>
-       <import>true</import>
-       <export>false</export>
-       <title>Case Status</title>
-       <comment>Id of case status.</comment>
-       <pseudoconstant>
-         <optionGroupName>case_status</optionGroupName>
-       </pseudoconstant>
-       <html>
-         <type>Select</type>
-       </html>
-       <add>1.8</add>
+    <name>status_id</name>
+    <type>int unsigned</type>
+    <uniqueName>case_status_id</uniqueName>
+    <required>true</required>
+    <import>true</import>
+    <export>false</export>
+    <title>Case Status</title>
+    <comment>Id of case status.</comment>
+    <pseudoconstant>
+      <optionGroupName>case_status</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.8</add>
   </field>
   <field>
-       <name>is_deleted</name>
-       <title>Case is in the Trash</title>
-       <uniqueName>case_deleted</uniqueName>
-       <type>boolean</type>
-       <default>0</default>
-       <import>true</import>
-       <title>Case Deleted</title>
-       <add>2.2</add>
+    <name>is_deleted</name>
+    <title>Case is in the Trash</title>
+    <uniqueName>case_deleted</uniqueName>
+    <type>boolean</type>
+    <default>0</default>
+    <import>true</import>
+    <title>Case Deleted</title>
+    <add>2.2</add>
   </field>
   <index>
-       <name>index_is_deleted</name>
-       <fieldName>is_deleted</fieldName>
-       <add>2.2</add>
+    <name>index_is_deleted</name>
+    <fieldName>is_deleted</fieldName>
+    <add>2.2</add>
   </index>
 </table>
index 32448ead05895d90fe3ef646b9bdc9dbed8cf681..f584a4de74da6b05ba5c0b3b26be58904c0ba0e0 100644 (file)
@@ -7,56 +7,56 @@
   <comment>Join table cache for contacts that a user has permission on.</comment>
   <add>3.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>primary key</comment>
-       <add>3.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>primary key</comment>
+    <add>3.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>user_id</name>
-      <type>int unsigned</type>
-      <comment>FK to civicrm_contact (could be null for anon user)</comment>
-       <add>3.1</add>
+    <name>user_id</name>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_contact (could be null for anon user)</comment>
+    <add>3.1</add>
   </field>
   <foreignKey>
-       <name>user_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>3.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>user_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm_contact</comment>
-       <add>3.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm_contact</comment>
+    <add>3.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>3.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>operation</name>
-      <type>varchar</type>
-      <length>8</length>
-      <required>true</required>
-      <comment>What operation does this user have permission on?</comment>
-      <pseudoconstant>
-        <callback>CRM_ACL_BAO_ACL::operation</callback>
-      </pseudoconstant>
-      <add>1.6</add>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>operation</name>
+    <type>varchar</type>
+    <length>8</length>
+    <required>true</required>
+    <comment>What operation does this user have permission on?</comment>
+    <pseudoconstant>
+      <callback>CRM_ACL_BAO_ACL::operation</callback>
+    </pseudoconstant>
+    <add>1.6</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>UI_user_contact_operation</name>
index 82bf0b532d72ef65fab044626d964030356be358..803396d89b67958fd4c2acd3cecb1603b1a24a0d 100644 (file)
   <comment>Contact objects are defined by a civicrm_contact record plus a related civicrm_contact_type record.</comment>
   <add>1.1</add>
   <log>true</log>
- <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Internal Contact ID</title>
-      <import>true</import>
-      <headerPattern>/internal|contact?|id$/i</headerPattern>
-      <required>true</required>
-      <comment>Unique Contact ID</comment>
-      <add>1.1</add>
 <field>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Internal Contact ID</title>
+    <import>true</import>
+    <headerPattern>/internal|contact?|id$/i</headerPattern>
+    <required>true</required>
+    <comment>Unique Contact ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>contact_type</name>
-       <title>Contact Type</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Type of Contact.</comment>
-       <export>true</export>
-       <pseudoconstant>
-        <table>civicrm_contact_type</table>
-        <keyColumn>name</keyColumn>
-        <labelColumn>label</labelColumn>
-        <condition>parent_id IS NULL</condition>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-       <add>1.1</add>
-       <change>3.1</change>
+    <name>contact_type</name>
+    <title>Contact Type</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Type of Contact.</comment>
+    <export>true</export>
+    <pseudoconstant>
+      <table>civicrm_contact_type</table>
+      <keyColumn>name</keyColumn>
+      <labelColumn>label</labelColumn>
+      <condition>parent_id IS NULL</condition>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.1</add>
+    <change>3.1</change>
   </field>
   <index>
-       <name>index_contact_type</name>
-       <fieldName>contact_type</fieldName>
-       <add>2.1</add>
+    <name>index_contact_type</name>
+    <fieldName>contact_type</fieldName>
+    <add>2.1</add>
   </index>
   <field>
-       <name>contact_sub_type</name>
-       <title>Contact Subtype</title>
-       <type>varchar</type>
-       <length>255</length>
-       <export>true</export>
-       <import>true</import>
-       <headerPattern>/C(ontact )?(subtype|sub-type|sub type)/i</headerPattern>
-       <comment>May be used to over-ride contact view and edit templates.</comment>
-       <pseudoconstant>
-        <table>civicrm_contact_type</table>
-        <keyColumn>name</keyColumn>
-        <labelColumn>label</labelColumn>
-        <condition>parent_id IS NOT NULL</condition>
-      </pseudoconstant>
-      <html>
-        <type>Multi-Select</type>
-      </html>
-       <add>1.5</add>
+    <name>contact_sub_type</name>
+    <title>Contact Subtype</title>
+    <type>varchar</type>
+    <length>255</length>
+    <export>true</export>
+    <import>true</import>
+    <headerPattern>/C(ontact )?(subtype|sub-type|sub type)/i</headerPattern>
+    <comment>May be used to over-ride contact view and edit templates.</comment>
+    <pseudoconstant>
+      <table>civicrm_contact_type</table>
+      <keyColumn>name</keyColumn>
+      <labelColumn>label</labelColumn>
+      <condition>parent_id IS NOT NULL</condition>
+    </pseudoconstant>
+    <html>
+      <type>Multi-Select</type>
+    </html>
+    <add>1.5</add>
   </field>
   <index>
-       <name>index_contact_sub_type</name>
-       <fieldName>contact_sub_type</fieldName>
-       <html>
-        <type>Multi-Select</type>
-      </html>
-       <add>2.1</add>
+    <name>index_contact_sub_type</name>
+    <fieldName>contact_sub_type</fieldName>
+    <html>
+      <type>Multi-Select</type>
+    </html>
+    <add>2.1</add>
   </index>
   <field>
-       <name>do_not_email</name>
-       <type>boolean</type>
-       <import>true</import>
-       <headerPattern>/d(o )?(not )?(email)/i</headerPattern>
-       <dataPattern>/^\d{1,}$/</dataPattern>
-       <default>0</default>
-       <html>
-         <type>CheckBox</type>
-       </html>
-       <add>1.1</add>
-</field>
-<field>
-       <name>do_not_phone</name>
-       <type>boolean</type>
-       <default>0</default>
-       <import>true</import>
-       <headerPattern>/d(o )?(not )?(call|phone)/i</headerPattern>
-       <dataPattern>/^\d{1,}$/</dataPattern>
-       <add>1.1</add>
-       <html>
-         <type>CheckBox</type>
-       </html>
- </field>
- <field>
-       <name>do_not_mail</name>
-       <type>boolean</type>
-       <import>true</import>
-       <headerPattern>/^(d(o\s)?n(ot\s)?mail)|(\w*)?bulk\s?(\w*)$/i</headerPattern>
-       <dataPattern>/^\d{1,}$/</dataPattern>
-       <default>0</default>
-       <add>1.1</add>
-       <html>
-         <type>CheckBox</type>
-       </html>
-  </field>
-  <field>
-       <name>do_not_sms</name>
-       <type>boolean</type>
-       <import>true</import>
-       <headerPattern>/d(o )?(not )?(sms)/i</headerPattern>
-       <dataPattern>/^\d{1,}$/</dataPattern>
-       <default>0</default>
-       <add>3.0</add>
-       <html>
-         <type>CheckBox</type>
-       </html>
-  </field>
-  <field>
-       <name>do_not_trade</name>
-       <type>boolean</type>
-       <import>true</import>
-       <headerPattern>/d(o )?(not )?(trade)/i</headerPattern>
-       <dataPattern>/^\d{1,}$/</dataPattern>
-       <default>0</default>
-       <add>1.1</add>
-       <html>
-         <type>CheckBox</type>
-       </html>
+    <name>do_not_email</name>
+    <type>boolean</type>
+    <import>true</import>
+    <headerPattern>/d(o )?(not )?(email)/i</headerPattern>
+    <dataPattern>/^\d{1,}$/</dataPattern>
+    <default>0</default>
+    <html>
+      <type>CheckBox</type>
+    </html>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>do_not_phone</name>
+    <type>boolean</type>
+    <default>0</default>
+    <import>true</import>
+    <headerPattern>/d(o )?(not )?(call|phone)/i</headerPattern>
+    <dataPattern>/^\d{1,}$/</dataPattern>
+    <add>1.1</add>
+    <html>
+      <type>CheckBox</type>
+    </html>
 </field>
 <field>
+    <name>do_not_mail</name>
+    <type>boolean</type>
+    <import>true</import>
+    <headerPattern>/^(d(o\s)?n(ot\s)?mail)|(\w*)?bulk\s?(\w*)$/i</headerPattern>
+    <dataPattern>/^\d{1,}$/</dataPattern>
+    <default>0</default>
+    <add>1.1</add>
+    <html>
+      <type>CheckBox</type>
+    </html>
+  </field>
+  <field>
+    <name>do_not_sms</name>
+    <type>boolean</type>
+    <import>true</import>
+    <headerPattern>/d(o )?(not )?(sms)/i</headerPattern>
+    <dataPattern>/^\d{1,}$/</dataPattern>
+    <default>0</default>
+    <add>3.0</add>
+    <html>
+      <type>CheckBox</type>
+    </html>
+  </field>
+  <field>
+    <name>do_not_trade</name>
+    <type>boolean</type>
+    <import>true</import>
+    <headerPattern>/d(o )?(not )?(trade)/i</headerPattern>
+    <dataPattern>/^\d{1,}$/</dataPattern>
+    <default>0</default>
+    <add>1.1</add>
+    <html>
+      <type>CheckBox</type>
+    </html>
   </field>
   <field>
     <name>is_opt_out</name>
     <comment>Has the contact opted out from receiving all bulk email from the organization or site domain?</comment>
     <add>1.1</add>
     <html>
-         <type>CheckBox</type>
-       </html>
+      <type>CheckBox</type>
+    </html>
   </field>
   <field>
-       <name>legal_identifier</name>
-       <type>varchar</type>
-       <length>32</length>
-       <import>true</import>
-       <headerPattern>/legal\s?id/i</headerPattern>
-       <dataPattern>/\w+?\d{5,}/</dataPattern>
-       <comment>May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.</comment>
-      <add>1.1</add>
-      <html>
-        <type>Text</type>
-      </html>
+    <name>legal_identifier</name>
+    <type>varchar</type>
+    <length>32</length>
+    <import>true</import>
+    <headerPattern>/legal\s?id/i</headerPattern>
+    <dataPattern>/\w+?\d{5,}/</dataPattern>
+    <comment>May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.
+    </comment>
+    <add>1.1</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
-       <name>external_identifier</name>
-       <type>varchar</type>
-       <length>32</length>
-       <html>
-         <type>Text</type>
-         <size>EIGHT</size>
-       </html>
+    <name>external_identifier</name>
+    <type>varchar</type>
+    <length>32</length>
+    <html>
+      <type>Text</type>
+      <size>EIGHT</size>
+    </html>
 
-       <import>true</import>
-       <headerPattern>/external\s?id/i</headerPattern>
-       <dataPattern>/^\d{11,}$/</dataPattern>
-       <comment>Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.</comment>
-      <add>1.1</add>
+    <import>true</import>
+    <headerPattern>/external\s?id/i</headerPattern>
+    <dataPattern>/^\d{11,}$/</dataPattern>
+    <comment>Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping
+      operations.
+    </comment>
+    <add>1.1</add>
   </field>
   <index>
-       <name>UI_external_identifier</name>
-       <unique>true</unique>
-       <fieldName>external_identifier</fieldName>
-       <add>1.7</add>
+    <name>UI_external_identifier</name>
+    <unique>true</unique>
+    <fieldName>external_identifier</fieldName>
+    <add>1.7</add>
   </index>
   <field>
-       <name>sort_name</name>
-       <title>Sort Name</title>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <name>sort_name</name>
+    <title>Sort Name</title>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <export>true</export>
-       <comment>Name used for sorting different contact types</comment>
-      <add>1.1</add>
+    <export>true</export>
+    <comment>Name used for sorting different contact types</comment>
+    <add>1.1</add>
   </field>
   <index>
-       <name>index_sort_name</name>
-       <fieldName>sort_name</fieldName>
-       <add>2.1</add>
+    <name>index_sort_name</name>
+    <fieldName>sort_name</fieldName>
+    <add>2.1</add>
   </index>
   <field>
-       <name>display_name</name>
-       <title>Display Name</title>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <name>display_name</name>
+    <title>Display Name</title>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <export>true</export>
-       <comment>Formatted name representing preferred format for display/print/other output.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>nick_name</name>
-       <title>Nickname</title>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <export>true</export>
+    <comment>Formatted name representing preferred format for display/print/other output.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>nick_name</name>
+    <title>Nickname</title>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <import>true</import>
-       <headerPattern>/n(ick\s)name|nick$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <comment>Nickname.</comment>
-       <fulltext/>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>legal_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <import>true</import>
+    <headerPattern>/n(ick\s)name|nick$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>Nickname.</comment>
+    <fulltext/>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>legal_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <import>true</import>
-       <headerPattern>/^legal|(l(egal\s)?name)$/i</headerPattern>
-       <comment>Legal Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>home_URL</name>
-       <rule>url</rule>
-       <title>Website</title>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <import>true</import>
+    <headerPattern>/^legal|(l(egal\s)?name)$/i</headerPattern>
+    <comment>Legal Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>home_URL</name>
+    <rule>url</rule>
+    <title>Website</title>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <import>true</import>
-       <headerPattern>/^(home\sURL)|URL|web|site/i</headerPattern>
-       <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
-       <comment>optional "home page" URL for this contact.</comment>
-       <add>1.1</add>
-       <drop>3.2</drop>
-  </field>
-  <field>
-       <name>image_URL</name>
-       <type>varchar</type>
-       <length>255</length>
-       <import>true</import>
-       <comment>optional URL for preferred image (photo, logo, etc.) to display for this contact.</comment>
-       <add>1.1</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-      <name>preferred_communication_method</name>
-      <title>Preferred Communication Method</title>
-      <type>varchar</type>
-      <length>255</length>
-      <import>true</import>
-      <headerPattern>/^p(ref\w*\s)?c(omm\w*)|( meth\w*)$/i</headerPattern>
-      <dataPattern>/^\w+$/</dataPattern>
-      <comment>What is the preferred mode of communication.</comment>
-      <add>1.1</add>
-      <pseudoconstant>
-        <optionGroupName>preferred_communication_method</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <import>true</import>
+    <headerPattern>/^(home\sURL)|URL|web|site/i</headerPattern>
+    <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
+    <comment>optional "home page" URL for this contact.</comment>
+    <add>1.1</add>
+    <drop>3.2</drop>
+  </field>
+  <field>
+    <name>image_URL</name>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <comment>optional URL for preferred image (photo, logo, etc.) to display for this contact.</comment>
+    <add>1.1</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>preferred_communication_method</name>
+    <title>Preferred Communication Method</title>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <headerPattern>/^p(ref\w*\s)?c(omm\w*)|( meth\w*)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>What is the preferred mode of communication.</comment>
+    <add>1.1</add>
+    <pseudoconstant>
+      <optionGroupName>preferred_communication_method</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
-       <name>index_preferred_communication_method</name>
-       <fieldName>preferred_communication_method</fieldName>
-       <add>1.6</add>
+    <name>index_preferred_communication_method</name>
+    <fieldName>preferred_communication_method</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-      <name>preferred_language</name>
-      <title>Preferred Language</title>
-      <type>varchar</type>
-      <length>5</length>
-      <comment>Which language is preferred for communication. FK to languages in civicrm_option_value.</comment>
-      <headerPattern>/^lang/i</headerPattern>
-      <import>true</import>
-      <pseudoconstant>
-        <optionGroupName>languages</optionGroupName>
-        <keyColumn>name</keyColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <add>3.2</add>
-  </field>
-  <field>
-       <name>preferred_mail_format</name>
-       <type>varchar</type>
-       <length>8</length>
-       <default>"Both"</default>
-       <import>true</import>
-       <headerPattern>/^p(ref\w*\s)?m(ail\s)?f(orm\w*)$/i</headerPattern>
-       <comment>What is the preferred mode of sending an email.</comment>
-       <add>1.1</add>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::pmf</callback>
-       </pseudoconstant>
-       <html>
-         <type>Select</type>
-       </html>
-  </field>
-  <field>
-      <name>hash</name>
-      <title>Contact Hash</title>
-      <type>varchar</type>
-      <length>32</length>
-      <comment>Key for validating requests related to this contact.</comment>
-      <add>1.1</add>
-      <change>1.5</change>
-       <export>true</export>
+    <name>preferred_language</name>
+    <title>Preferred Language</title>
+    <type>varchar</type>
+    <length>5</length>
+    <comment>Which language is preferred for communication. FK to languages in civicrm_option_value.</comment>
+    <headerPattern>/^lang/i</headerPattern>
+    <import>true</import>
+    <pseudoconstant>
+      <optionGroupName>languages</optionGroupName>
+      <keyColumn>name</keyColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>3.2</add>
+  </field>
+  <field>
+    <name>preferred_mail_format</name>
+    <type>varchar</type>
+    <length>8</length>
+    <default>"Both"</default>
+    <import>true</import>
+    <headerPattern>/^p(ref\w*\s)?m(ail\s)?f(orm\w*)$/i</headerPattern>
+    <comment>What is the preferred mode of sending an email.</comment>
+    <add>1.1</add>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::pmf</callback>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
+  <field>
+    <name>hash</name>
+    <title>Contact Hash</title>
+    <type>varchar</type>
+    <length>32</length>
+    <comment>Key for validating requests related to this contact.</comment>
+    <add>1.1</add>
+    <change>1.5</change>
+    <export>true</export>
   </field>
   <index>
-       <name>index_hash</name>
-       <fieldName>hash</fieldName>
-       <add>2.1</add>
+    <name>index_hash</name>
+    <fieldName>hash</fieldName>
+    <add>2.1</add>
   </index>
   <field>
-      <name>api_key</name>
-      <type>varchar</type>
-      <length>32</length>
-      <comment>API Key for validating requests related to this contact.</comment>
-      <add>2.2</add>
+    <name>api_key</name>
+    <type>varchar</type>
+    <length>32</length>
+    <comment>API Key for validating requests related to this contact.</comment>
+    <add>2.2</add>
   </field>
   <index>
-       <name>index_api_key</name>
-       <fieldName>api_key</fieldName>
-       <add>2.1</add>
+    <name>index_api_key</name>
+    <fieldName>api_key</fieldName>
+    <add>2.1</add>
   </index>
   <field>
-       <name>source</name>
-       <title>Source of Contact Data</title>
-       <uniqueName>contact_source</uniqueName>
-       <type>varchar</type>
-       <length>255</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
+    <name>source</name>
+    <title>Source of Contact Data</title>
+    <uniqueName>contact_source</uniqueName>
+    <type>varchar</type>
+    <length>255</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
 
-       <import>true</import>
-       <headerPattern>/(S(ource\s)?o(f\s)?C(ontact\s)?Data)$/i</headerPattern>
-       <comment>where contact come from, e.g. import, donate module insert...</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>first_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^first|(f(irst\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <fulltext/>
-       <comment>First Name.</comment>
-      <add>1.1</add>
+    <import>true</import>
+    <headerPattern>/(S(ource\s)?o(f\s)?C(ontact\s)?Data)$/i</headerPattern>
+    <comment>where contact come from, e.g. import, donate module insert...</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>first_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^first|(f(irst\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <fulltext/>
+    <comment>First Name.</comment>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_first_name</name>
-      <fieldName>first_name</fieldName>
-      <add>1.8</add>
+    <name>index_first_name</name>
+    <fieldName>first_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-       <name>middle_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <html>
-         <type>Text</type>
-         <size>MEDIUM</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^middle|(m(iddle\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <fulltext/>
-       <comment>Middle Name.</comment>
-      <add>1.1</add>
-  </field>
-  <field>
-       <name>last_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^last|(l(ast\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+(\s\w+)?+$/</dataPattern>
-       <comment>Last Name.</comment>
-       <fulltext/>
-      <add>1.1</add>
+    <name>middle_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <html>
+      <type>Text</type>
+      <size>MEDIUM</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^middle|(m(iddle\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <fulltext/>
+    <comment>Middle Name.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>last_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^last|(l(ast\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+(\s\w+)?+$/</dataPattern>
+    <comment>Last Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_last_name</name>
-      <fieldName>last_name</fieldName>
-      <add>1.8</add>
-      <html>
-        <type>Text</type>
-      </html>
+    <name>index_last_name</name>
+    <fieldName>last_name</fieldName>
+    <add>1.8</add>
+    <html>
+      <type>Text</type>
+    </html>
   </index>
   <field>
-      <name>prefix_id</name>
-      <title>Individual Prefix</title>
-      <type>int unsigned</type>
-      <comment>Prefix or Title for name (Ms, Mr...). FK to prefix ID</comment>
-      <pseudoconstant>
-        <optionGroupName>individual_prefix</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <headerPattern>/^(prefix|title)/i</headerPattern>
-      <dataPattern>/^(mr|ms|mrs|sir|dr)\.?$/i</dataPattern>
-      <import>true</import>
-      <add>1.2</add>
+    <name>prefix_id</name>
+    <title>Individual Prefix</title>
+    <type>int unsigned</type>
+    <comment>Prefix or Title for name (Ms, Mr...). FK to prefix ID</comment>
+    <pseudoconstant>
+      <optionGroupName>individual_prefix</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <headerPattern>/^(prefix|title)/i</headerPattern>
+    <dataPattern>/^(mr|ms|mrs|sir|dr)\.?$/i</dataPattern>
+    <import>true</import>
+    <add>1.2</add>
   </field>
   <index>
-      <name>UI_prefix</name>
-      <fieldName>prefix_id</fieldName>
-      <add>1.6</add>
+    <name>UI_prefix</name>
+    <fieldName>prefix_id</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-      <name>suffix_id</name>
-      <title>Individual Suffix</title>
-      <type>int unsigned</type>
-      <pseudoconstant>
-        <optionGroupName>individual_suffix</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <import>true</import>
-      <comment>Suffix for name (Jr, Sr...). FK to suffix ID</comment>
-      <headerPattern>/^suffix$/i</headerPattern>
-      <dataPattern>/^(sr|jr)\.?|i{2,}$/</dataPattern>
-      <add>1.2</add>
+    <name>suffix_id</name>
+    <title>Individual Suffix</title>
+    <type>int unsigned</type>
+    <pseudoconstant>
+      <optionGroupName>individual_suffix</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <import>true</import>
+    <comment>Suffix for name (Jr, Sr...). FK to suffix ID</comment>
+    <headerPattern>/^suffix$/i</headerPattern>
+    <dataPattern>/^(sr|jr)\.?|i{2,}$/</dataPattern>
+    <add>1.2</add>
   </field>
   <index>
-      <name>UI_suffix</name>
-      <fieldName>suffix_id</fieldName>
-      <add>1.6</add>
+    <name>UI_suffix</name>
+    <fieldName>suffix_id</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-      <name>formal_title</name>
-      <type>varchar</type>
-      <length>64</length>
-      <import>true</import>
-      <headerPattern>/^title/i</headerPattern>
-      <comment>Formal (academic or similar) title in front of name. (Prof., Dr. etc.)</comment>
-      <add>4.5</add>
-  </field>
-  <field>
-      <name>communication_style_id</name>
-      <title>Communication Style</title>
-      <type>int unsigned</type>
-      <pseudoconstant>
-        <optionGroupName>communication_style</optionGroupName>
-      </pseudoconstant>
-      <export>true</export>
-      <comment>Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.</comment>
-      <add>4.4</add>
+    <name>formal_title</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/^title/i</headerPattern>
+    <comment>Formal (academic or similar) title in front of name. (Prof., Dr. etc.)</comment>
+    <add>4.5</add>
+  </field>
+  <field>
+    <name>communication_style_id</name>
+    <title>Communication Style</title>
+    <type>int unsigned</type>
+    <pseudoconstant>
+      <optionGroupName>communication_style</optionGroupName>
+    </pseudoconstant>
+    <export>true</export>
+    <comment>Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in
+      civicrm_option_value.
+    </comment>
+    <add>4.4</add>
   </field>
   <index>
-      <name>index_communication_style_id</name>
-      <fieldName>communication_style_id</fieldName>
-      <add>4.4</add>
+    <name>index_communication_style_id</name>
+    <fieldName>communication_style_id</fieldName>
+    <add>4.4</add>
   </index>
   <field>
-       <name>greeting_type</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <comment>Preferred greeting format.</comment>
-       <add>1.1</add>
-       <drop>2.2</drop>
-  </field>
-  <field>
-       <name>greeting_type_id</name>
-       <title>Greeting Type</title>
-       <type>int unsigned</type>
-       <comment>FK to civicrm_option_value.id, that has to be valid, registered Greeting type.</comment>
-       <add>2.2</add>
-       <drop>3.0</drop>
-  </field>
-  <field>
-       <name>custom_greeting</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <comment>Custom greeting message.</comment>
-       <add>1.1</add>
-       <drop>3.0</drop>
-  </field>
-  <field>
-       <name>email_greeting_id</name>
-       <type>int unsigned</type>
-       <title>Email Greeting ID</title>
-       <comment>FK to civicrm_option_value.id, that has to be valid registered Email Greeting.</comment>
-       <add>3.0</add>
-  </field>
-  <field>
-       <name>email_greeting_custom</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <export>false</export>
-       <comment>Custom Email Greeting.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>email_greeting_display</name>
-       <title>Email Greeting</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Cache Email Greeting.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>postal_greeting_id</name>
-       <type>int unsigned</type>
-       <title>Postal Greeting ID</title>
-       <comment>FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>postal_greeting_custom</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <export>false</export>
-       <comment>Custom Postal greeting.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>postal_greeting_display</name>
-       <title>Postal Greeting</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Cache Postal greeting.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>addressee_id</name>
-       <type>int unsigned</type>
-       <title>Addressee ID</title>
-       <comment>FK to civicrm_option_value.id, that has to be valid registered Addressee.</comment>
-       <add>3.0</add>
-  </field>
-  <field>
-       <name>addressee_custom</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <export>false</export>
-       <comment>Custom Addressee.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>addressee_display</name>
-       <title>Addressee</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Cache Addressee.</comment>
-       <add>3.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>job_title</name>
-       <type>varchar</type>
-       <length>255</length>
-       <html>
-         <type>Text</type>
-         <size>MEDIUM</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^job|(j(ob\s)?title)$/i</headerPattern>
-       <dataPattern>//</dataPattern>
-       <comment>Job Title</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-      <name>gender_id</name>
-      <title>Gender</title>
-      <type>int unsigned</type>
-      <pseudoconstant>
-        <optionGroupName>gender</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <headerPattern>/^gender$/i</headerPattern>
-      <comment>FK to gender ID</comment>
-      <import>true</import>
-      <add>1.2</add>
+    <name>greeting_type</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <comment>Preferred greeting format.</comment>
+    <add>1.1</add>
+    <drop>2.2</drop>
+  </field>
+  <field>
+    <name>greeting_type_id</name>
+    <title>Greeting Type</title>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_option_value.id, that has to be valid, registered Greeting type.</comment>
+    <add>2.2</add>
+    <drop>3.0</drop>
+  </field>
+  <field>
+    <name>custom_greeting</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <comment>Custom greeting message.</comment>
+    <add>1.1</add>
+    <drop>3.0</drop>
+  </field>
+  <field>
+    <name>email_greeting_id</name>
+    <type>int unsigned</type>
+    <title>Email Greeting ID</title>
+    <comment>FK to civicrm_option_value.id, that has to be valid registered Email Greeting.</comment>
+    <add>3.0</add>
+  </field>
+  <field>
+    <name>email_greeting_custom</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <export>false</export>
+    <comment>Custom Email Greeting.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>email_greeting_display</name>
+    <title>Email Greeting</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Cache Email Greeting.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>postal_greeting_id</name>
+    <type>int unsigned</type>
+    <title>Postal Greeting ID</title>
+    <comment>FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>postal_greeting_custom</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <export>false</export>
+    <comment>Custom Postal greeting.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>postal_greeting_display</name>
+    <title>Postal Greeting</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Cache Postal greeting.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>addressee_id</name>
+    <type>int unsigned</type>
+    <title>Addressee ID</title>
+    <comment>FK to civicrm_option_value.id, that has to be valid registered Addressee.</comment>
+    <add>3.0</add>
+  </field>
+  <field>
+    <name>addressee_custom</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <export>false</export>
+    <comment>Custom Addressee.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>addressee_display</name>
+    <title>Addressee</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Cache Addressee.</comment>
+    <add>3.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>job_title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <html>
+      <type>Text</type>
+      <size>MEDIUM</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^job|(j(ob\s)?title)$/i</headerPattern>
+    <dataPattern>//</dataPattern>
+    <comment>Job Title</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>gender_id</name>
+    <title>Gender</title>
+    <type>int unsigned</type>
+    <pseudoconstant>
+      <optionGroupName>gender</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <headerPattern>/^gender$/i</headerPattern>
+    <comment>FK to gender ID</comment>
+    <import>true</import>
+    <add>1.2</add>
   </field>
   <index>
-     <name>UI_gender</name>
-     <fieldName>gender_id</fieldName>
-     <add>1.6</add>
-     <html>
-       <type>Select</type>
-     </html>
+    <name>UI_gender</name>
+    <fieldName>gender_id</fieldName>
+    <add>1.6</add>
+    <html>
+      <type>Select</type>
+    </html>
   </index>
   <field>
-       <name>birth_date</name>
-       <type>date</type>
-       <import>true</import>
-       <headerPattern>/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i</headerPattern>
-       <dataPattern>/\d{4}-?\d{2}-?\d{2}/</dataPattern>
-       <comment>Date of birth</comment>
-       <add>1.1</add>
-       <html>
-         <type>Select Date</type>
-       </html>
-  </field>
-  <field>
-       <name>is_deceased</name>
-       <title>Is Deceased</title>
-       <import>true</import>
-       <export>true</export>
-       <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>
-       <type>boolean</type>
-       <default>0</default>
-       <add>1.1</add>
-       <html>
-         <type>CheckBox</type>
-       </html>
-  </field>
-  <field>
-       <name>deceased_date</name>
-       <type>date</type>
-       <import>true</import>
-       <export>true</export>
-       <headerPattern>/^deceased|(d(eceased\s)?date)$/i</headerPattern>
-       <comment>Date of deceased</comment>
-       <add>1.5</add>
-       <html>
-         <type>Select Date</type>
-       </html>
-  </field>
-  <field>
-      <name>mail_to_household_id</name>
-      <title>Mail to Household ID</title>
-      <type>int unsigned</type>
-      <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct mail communications to household rather than individual location.</comment>
-      <export>true</export>
-      <add>1.1</add>
-      <drop>3.3</drop>
+    <name>birth_date</name>
+    <type>date</type>
+    <import>true</import>
+    <headerPattern>/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i</headerPattern>
+    <dataPattern>/\d{4}-?\d{2}-?\d{2}/</dataPattern>
+    <comment>Date of birth</comment>
+    <add>1.1</add>
+    <html>
+      <type>Select Date</type>
+    </html>
+  </field>
+  <field>
+    <name>is_deceased</name>
+    <title>Is Deceased</title>
+    <import>true</import>
+    <export>true</export>
+    <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>
+    <type>boolean</type>
+    <default>0</default>
+    <add>1.1</add>
+    <html>
+      <type>CheckBox</type>
+    </html>
+  </field>
+  <field>
+    <name>deceased_date</name>
+    <type>date</type>
+    <import>true</import>
+    <export>true</export>
+    <headerPattern>/^deceased|(d(eceased\s)?date)$/i</headerPattern>
+    <comment>Date of deceased</comment>
+    <add>1.5</add>
+    <html>
+      <type>Select Date</type>
+    </html>
+  </field>
+  <field>
+    <name>mail_to_household_id</name>
+    <title>Mail to Household ID</title>
+    <type>int unsigned</type>
+    <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct mail communications to household
+      rather than individual location.
+    </comment>
+    <export>true</export>
+    <add>1.1</add>
+    <drop>3.3</drop>
   </field>
   <foreignKey>
-       <name>mail_to_household_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>SET NULL</onDelete>
-       <drop>3.3</drop>
+    <name>mail_to_household_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>SET NULL</onDelete>
+    <drop>3.3</drop>
   </foreignKey>
   <field>
-       <name>household_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^household|(h(ousehold\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <comment>Household Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
+    <name>household_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^household|(h(ousehold\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>Household Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_household_name</name>
-      <fieldName>household_name</fieldName>
-      <add>1.8</add>
+    <name>index_household_name</name>
+    <fieldName>household_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-      <name>primary_contact_id</name>
-      <type>int unsigned</type>
-      <title>Household Primary Contact ID</title>
-      <comment>Optional FK to Primary Contact for this household.</comment>
-       <add>1.1</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>primary_contact_id</name>
+    <type>int unsigned</type>
+    <title>Household Primary Contact ID</title>
+    <comment>Optional FK to Primary Contact for this household.</comment>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>primary_contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>primary_contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-       <name>organization_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/^organization|(o(rganization\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <comment>Organization Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
+    <name>organization_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/^organization|(o(rganization\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>Organization Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_organization_name</name>
-      <fieldName>organization_name</fieldName>
-      <add>1.8</add>
+    <name>index_organization_name</name>
+    <fieldName>organization_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-       <name>sic_code</name>
-       <type>varchar</type>
-       <length>8</length>
-       <import>true</import>
-       <headerPattern>/^sic|(s(ic\s)?code)$/i</headerPattern>
-       <comment>Standard Industry Classification Code.</comment>
-       <add>1.1</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-       <name>user_unique_id</name>
-       <rule>url</rule>
-       <title>Unique ID (OpenID)</title>
-       <type>varchar</type>
-       <length>255</length>
-       <import>true</import>
-       <headerPattern>/^Open\s?ID|u(niq\w*)?\s?ID/i</headerPattern>
-       <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
-       <comment>the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM</comment>
-       <add>2.0</add>
-       <html>
-         <type>Text</type>
-       </html>
-  </field>
-  <field>
-      <name>employer_id</name>
-      <title>Current Employer ID</title>
-      <uniqueName>current_employer_id</uniqueName>
-      <type>int unsigned</type>
-      <comment>OPTIONAL FK to civicrm_contact record.</comment>
-      <export>true</export>
-      <add>2.1</add>
-      <html>
-       <type>Autocomplete-Select</type>
-     </html>
+    <name>sic_code</name>
+    <type>varchar</type>
+    <length>8</length>
+    <import>true</import>
+    <headerPattern>/^sic|(s(ic\s)?code)$/i</headerPattern>
+    <comment>Standard Industry Classification Code.</comment>
+    <add>1.1</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>user_unique_id</name>
+    <rule>url</rule>
+    <title>Unique ID (OpenID)</title>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <headerPattern>/^Open\s?ID|u(niq\w*)?\s?ID/i</headerPattern>
+    <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
+    <comment>the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for
+      logging in to CiviCRM
+    </comment>
+    <add>2.0</add>
+    <html>
+      <type>Text</type>
+    </html>
+  </field>
+  <field>
+    <name>employer_id</name>
+    <title>Current Employer ID</title>
+    <uniqueName>current_employer_id</uniqueName>
+    <type>int unsigned</type>
+    <comment>OPTIONAL FK to civicrm_contact record.</comment>
+    <export>true</export>
+    <add>2.1</add>
+    <html>
+      <type>Autocomplete-Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>employer_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>employer_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
     <name>is_deleted</name>
index b09b4ea2069700f4512009b0b4a4be94e4ad97c5..dfb94a73f3617820c909186b470bd4db3dab4046 100644 (file)
@@ -7,70 +7,70 @@
   <comment>Table to store dashboard for each contact.</comment>
   <add>3.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>dashboard_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Dashboard ID</comment>
-      <add>3.1</add>
+    <name>dashboard_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Dashboard ID</comment>
+    <add>3.1</add>
   </field>
   <foreignKey>
-       <name>dashboard_id</name>
-       <table>civicrm_dashboard</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>3.1</add>
+    <name>dashboard_id</name>
+    <table>civicrm_dashboard</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>3.1</add>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Contact ID</comment>
-      <add>3.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Contact ID</comment>
+    <add>3.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>3.1</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>3.1</add>
   </foreignKey>
   <field>
-       <name>column_no</name>
-       <type>boolean</type>
-       <comment>column no for this widget</comment>
-       <default>0</default>
-       <add>3.1</add>
+    <name>column_no</name>
+    <type>boolean</type>
+    <comment>column no for this widget</comment>
+    <default>0</default>
+    <add>3.1</add>
   </field>
   <field>
-       <name>is_minimized</name>
-       <type>boolean</type>
-       <comment>Is Minimized?</comment>
-       <default>0</default>
-       <add>3.1</add>
+    <name>is_minimized</name>
+    <type>boolean</type>
+    <comment>Is Minimized?</comment>
+    <default>0</default>
+    <add>3.1</add>
   </field>
   <field>
-      <name>is_fullscreen</name>
-      <type>boolean</type>
-      <comment>Is Fullscreen?</comment>
-      <default>1</default>
-      <add>3.1</add>
+    <name>is_fullscreen</name>
+    <type>boolean</type>
+    <comment>Is Fullscreen?</comment>
+    <default>1</default>
+    <add>3.1</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this widget active?</comment>
-       <default>0</default>
-       <add>3.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this widget active?</comment>
+    <default>0</default>
+    <add>3.1</add>
   </field>
   <field>
     <name>weight</name>
     <add>3.1</add>
   </field>
   <field>
-     <name>content</name>
-     <type>longtext</type>
-     <comment>dashlet content</comment>
-     <add>3.3</add>
+    <name>content</name>
+    <type>longtext</type>
+    <comment>dashlet content</comment>
+    <add>3.3</add>
   </field>
   <field>
-      <name>created_date</name>
-      <type>datetime</type>
-      <comment>When was content populated</comment>
-      <add>3.3</add>
+    <name>created_date</name>
+    <type>datetime</type>
+    <comment>When was content populated</comment>
+    <add>3.3</add>
   </field>
 </table>
index 5cab0e21b0120f40ea3fdfb3c73b4b97fc79cb55..6f68023e738a90d31f2fe2d8cc1df84205bb5596 100644 (file)
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-       <title>Group ID</title>
-      <required>true</required>
-      <comment>Group ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Group ID</title>
+    <required>true</required>
+    <comment>Group ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <title>Group Name</title>
-       <length>64</length>
-       <comment>Internal name of Group.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>title</name>
-       <type>varchar</type>
-       <title>Group Title</title>
-       <length>64</length>
-       <localizable>true</localizable>
-       <comment>Name of Group.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>description</name>
-       <type>text</type>
-       <title>Group Description</title>
-       <html>
-         <type>TextArea</type>
-         <rows>2</rows>
-         <cols>60</cols>
-       </html>
-       <comment>Optional verbose description of the group.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>source</name>
-       <type>varchar</type>
-       <title>Group Source</title>
-       <length>64</length>
-       <comment>Module or process which created this group.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-      <name>saved_search_id</name>
-      <type>int unsigned</type>
-      <title>Saved Search ID</title>
-      <comment>FK to saved search table.</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <type>varchar</type>
+    <title>Group Name</title>
+    <length>64</length>
+    <comment>Internal name of Group.</comment>
+    <add>1.1</add>
   </field>
-  <foreignKey>
-       <name>saved_search_id</name>
-       <table>civicrm_saved_search</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
-  </foreignKey>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <title>Group Enabled</title>
-       <comment>Is this entry active?</comment>
-       <add>1.1</add>
+    <name>title</name>
+    <type>varchar</type>
+    <title>Group Title</title>
+    <length>64</length>
+    <localizable>true</localizable>
+    <comment>Name of Group.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>visibility</name>
-       <type>varchar</type>
-       <length>24</length>
-       <title>Group Visibility Setting</title>
-       <default>'User and User Admin Only'</default>
-       <comment>In what context(s) is this field visible.</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::groupVisibility</callback>
-       </pseudoconstant>
-       <add>1.2</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>description</name>
+    <type>text</type>
+    <title>Group Description</title>
+    <html>
+      <type>TextArea</type>
+      <rows>2</rows>
+      <cols>60</cols>
+    </html>
+    <comment>Optional verbose description of the group.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>source</name>
+    <type>varchar</type>
+    <title>Group Source</title>
+    <length>64</length>
+    <comment>Module or process which created this group.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>saved_search_id</name>
+    <type>int unsigned</type>
+    <title>Saved Search ID</title>
+    <comment>FK to saved search table.</comment>
+    <add>1.1</add>
   </field>
+  <foreignKey>
+    <name>saved_search_id</name>
+    <table>civicrm_saved_search</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
+  </foreignKey>
   <field>
-       <name>where_clause</name>
-       <type>text</type>
-       <title>Group Where Clause</title>
-       <comment>the sql where clause if a saved search acl</comment>
-       <add>1.6</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <title>Group Enabled</title>
+    <comment>Is this entry active?</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>visibility</name>
+    <type>varchar</type>
+    <length>24</length>
+    <title>Group Visibility Setting</title>
+    <default>'User and User Admin Only'</default>
+    <comment>In what context(s) is this field visible.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::groupVisibility</callback>
+    </pseudoconstant>
+    <add>1.2</add>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
+  <field>
+    <name>where_clause</name>
+    <type>text</type>
+    <title>Group Where Clause</title>
+    <comment>the sql where clause if a saved search acl</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>select_tables</name>
-       <type>text</type>
-       <title>Tables For Select Clause</title>
-       <comment>the tables to be included in a select data</comment>
-       <add>1.6</add>
+    <name>select_tables</name>
+    <type>text</type>
+    <title>Tables For Select Clause</title>
+    <comment>the tables to be included in a select data</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>where_tables</name>
-       <type>text</type>
-       <title>Tables For Where Clause</title>
-       <comment>the tables to be included in the count statement</comment>
-       <add>1.6</add>
+    <name>where_tables</name>
+    <type>text</type>
+    <title>Tables For Where Clause</title>
+    <comment>the tables to be included in the count statement</comment>
+    <add>1.6</add>
   </field>
   <field>
-      <name>group_type</name>
-      <type>varchar</type>
-      <title>Group Type</title>
-      <length>128</length>
-      <comment>FK to group type</comment>
-      <add>1.9</add>
+    <name>group_type</name>
+    <type>varchar</type>
+    <title>Group Type</title>
+    <length>128</length>
+    <comment>FK to group type</comment>
+    <add>1.9</add>
   </field>
   <field>
-      <name>cache_date</name>
-      <type>datetime</type>
-      <title>Group Cache Date</title>
-      <comment>Date when we created the cache for a smart group</comment>
-      <add>2.1</add>
+    <name>cache_date</name>
+    <type>datetime</type>
+    <title>Group Cache Date</title>
+    <comment>Date when we created the cache for a smart group</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>refresh_date</name>
-      <type>datetime</type>
-      <title>Next Group Refresh Time</title>
-      <comment>Date and time when we need to refresh the cache next.</comment>
-      <add>4.3</add>
+    <name>refresh_date</name>
+    <type>datetime</type>
+    <title>Next Group Refresh Time</title>
+    <comment>Date and time when we need to refresh the cache next.</comment>
+    <add>4.3</add>
   </field>
   <field>
     <name>parents</name>
     <add>2.1</add>
   </index>
   <field>
-      <name>created_id</name>
-      <type>int unsigned</type>
-      <title>Group Created By</title>
-      <comment>FK to contact table.</comment>
-       <add>4.3</add>
+    <name>created_id</name>
+    <type>int unsigned</type>
+    <title>Group Created By</title>
+    <comment>FK to contact table.</comment>
+    <add>4.3</add>
   </field>
   <foreignKey>
-       <name>created_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>4.3</add>
-       <onDelete>SET NULL</onDelete>
+    <name>created_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>4.3</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>modified_id</name>
-      <type>int unsigned</type>
-      <title>Group Modified By</title>
-      <comment>FK to contact table.</comment>
-      <add>4.5</add>
+    <name>modified_id</name>
+    <type>int unsigned</type>
+    <title>Group Modified By</title>
+    <comment>FK to contact table.</comment>
+    <add>4.5</add>
   </field>
   <foreignKey>
-       <name>modified_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>4.5</add>
-       <onDelete>SET NULL</onDelete>
+    <name>modified_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>4.5</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
 </table>
index 014b2b028c7ea06f2af53f5bd2f5d2aeba7c424e..22f3dd8befa17b677208cdb7c7f3419391b48f2a 100644 (file)
@@ -4,20 +4,22 @@
   <base>CRM/Contact</base>
   <class>GroupContact</class>
   <name>civicrm_group_contact</name>
-  <comment>Join table sets membership for 'static' groups. Also used to store 'opt-out' entries for 'query' type groups (status = 'OUT')</comment>
+  <comment>Join table sets membership for 'static' groups. Also used to store 'opt-out' entries for 'query' type groups
+    (status = 'OUT')
+  </comment>
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Group Contact ID</title>
-      <required>true</required>
-      <comment>primary key</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Group Contact ID</title>
+    <required>true</required>
+    <comment>primary key</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
     <name>group_id</name>
     </html>
   </field>
   <foreignKey>
-       <name>group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <title>Contact ID</title>
-      <required>true</required>
-      <comment>FK to civicrm_contact</comment>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <title>Contact ID</title>
+    <required>true</required>
+    <comment>FK to civicrm_contact</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>status</name>
-       <type>varchar</type>
-       <length>8</length>
-       <title>Group Contact Status</title>
-       <comment>status of contact relative to membership in group</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::groupContactStatus</callback>
-       </pseudoconstant>
-       <add>1.1</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>status</name>
+    <type>varchar</type>
+    <length>8</length>
+    <title>Group Contact Status</title>
+    <comment>status of contact relative to membership in group</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::groupContactStatus</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>location_id</name>
-       <type>int unsigned</type>
-       <title>Group Contact Location</title>
-       <comment>Optional location to associate with this membership</comment>
-       <add>1.1</add>
+    <name>location_id</name>
+    <type>int unsigned</type>
+    <title>Group Contact Location</title>
+    <comment>Optional location to associate with this membership</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
     <name>location_id</name>
     <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>email_id</name>
-      <type>int unsigned</type>
-      <title>Group Contact Email</title>
-      <comment>Optional email to associate with this membership</comment>
-      <add>1.1</add>
+    <name>email_id</name>
+    <type>int unsigned</type>
+    <title>Group Contact Email</title>
+    <comment>Optional email to associate with this membership</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
     <name>email_id</name>
index 7be337fca37854634b76ec7509764a3d33b69de5..f14894a0e35c3cddcb43c0a93a787c2ed11242ab 100644 (file)
@@ -7,15 +7,15 @@
   <comment>Join table cache for 'static' groups.</comment>
   <add>2.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>primary key</comment>
-       <add>2.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>primary key</comment>
+    <add>2.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
     <name>group_id</name>
     </html>
   </field>
   <foreignKey>
-       <name>group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm_contact</comment>
-       <add>2.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm_contact</comment>
+    <add>2.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <index>
     <name>UI_contact_group</name>
index 827312783a34c6939b69c7e37f6b9f5a55194279..89f4216792a40e20baffc749c07e9231aa0957e8 100644 (file)
@@ -8,56 +8,56 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique Household ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique Household ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to Contact ID</comment>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to Contact ID</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <field>
-       <name>household_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <headerPattern>/^household|(h(ousehold\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <comment>Household Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
+    <name>household_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <headerPattern>/^household|(h(ousehold\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>Household Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_household_name</name>
-      <fieldName>household_name</fieldName>
-      <add>1.8</add>
+    <name>index_household_name</name>
+    <fieldName>household_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-      <name>primary_contact_id</name>
-      <type>int unsigned</type>
-      <comment>Optional FK to Primary Contact for this household.</comment>
-       <add>1.1</add>
+    <name>primary_contact_id</name>
+    <type>int unsigned</type>
+    <comment>Optional FK to Primary Contact for this household.</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>primary_contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>primary_contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <index>
     <name>UI_contact</name>
index c361dc46ced3d620be738e4f2523383bce790cfb..552d46f11a6800ec4a869d70b844eada74139745 100644 (file)
   <log>true</log>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique Individual ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique Individual ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to Contact ID</comment>
-      <add>1.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to Contact ID</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <field>
-       <name>first_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/^first|(f(irst\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <fulltext/>
-       <comment>First Name.</comment>
-      <add>1.1</add>
+    <name>first_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/^first|(f(irst\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <fulltext/>
+    <comment>First Name.</comment>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_first_name</name>
-      <fieldName>first_name</fieldName>
-      <add>1.8</add>
+    <name>index_first_name</name>
+    <fieldName>first_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-       <name>middle_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/^middle|(m(iddle\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <fulltext/>
-       <comment>Middle Name.</comment>
-      <add>1.1</add>
-  </field>
-  <field>
-       <name>last_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/^(l(ast\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+(\s\w+)?+$/</dataPattern>
-       <comment>Last Name.</comment>
-       <fulltext/>
-      <add>1.1</add>
+    <name>middle_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/^middle|(m(iddle\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <fulltext/>
+    <comment>Middle Name.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>last_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/^(l(ast\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+(\s\w+)?+$/</dataPattern>
+    <comment>Last Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_last_name</name>
-      <fieldName>last_name</fieldName>
-      <add>1.8</add>
+    <name>index_last_name</name>
+    <fieldName>last_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-       <name>gender</name>
-       <type>enum</type>
-       <import>true</import>
-       <values>Female, Male, Transgender</values>
-       <add>1.1</add>
-       <drop>1.2</drop>
+    <name>gender</name>
+    <type>enum</type>
+    <import>true</import>
+    <values>Female, Male, Transgender</values>
+    <add>1.1</add>
+    <drop>1.2</drop>
   </field>
   <field>
-      <name>prefix_id</name>
-      <type>int unsigned</type>
-      <comment>Prefix or Title for name (Ms, Mr...). FK to prefix ID</comment>
-      <headerPattern>/^(prefix|title)/i</headerPattern>
-      <dataPattern>/^(mr|ms|mrs|sir|dr)\.?$/i</dataPattern>
-      <add>1.2</add>
+    <name>prefix_id</name>
+    <type>int unsigned</type>
+    <comment>Prefix or Title for name (Ms, Mr...). FK to prefix ID</comment>
+    <headerPattern>/^(prefix|title)/i</headerPattern>
+    <dataPattern>/^(mr|ms|mrs|sir|dr)\.?$/i</dataPattern>
+    <add>1.2</add>
   </field>
   <index>
-      <name>UI_prefix</name>
-      <fieldName>prefix_id</fieldName>
-      <add>1.6</add>
+    <name>UI_prefix</name>
+    <fieldName>prefix_id</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-      <name>suffix_id</name>
-      <type>int unsigned</type>
-      <comment>Suffix for name (Jr, Sr...). FK to suffix ID</comment>
-      <headerPattern>/^suffix$/i</headerPattern>
-      <dataPattern>/^(sr|jr)\.?|i{2,}$/</dataPattern>
-      <add>1.2</add>
+    <name>suffix_id</name>
+    <type>int unsigned</type>
+    <comment>Suffix for name (Jr, Sr...). FK to suffix ID</comment>
+    <headerPattern>/^suffix$/i</headerPattern>
+    <dataPattern>/^(sr|jr)\.?|i{2,}$/</dataPattern>
+    <add>1.2</add>
   </field>
   <index>
-      <name>UI_suffix</name>
-      <fieldName>suffix_id</fieldName>
-      <add>1.6</add>
+    <name>UI_suffix</name>
+    <fieldName>suffix_id</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-       <name>prefix</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <comment>Prefix to Name.</comment>
-       <add>1.1</add>
-       <drop>1.2</drop>
+    <name>prefix</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <comment>Prefix to Name.</comment>
+    <add>1.1</add>
+    <drop>1.2</drop>
   </field>
   <field>
-       <name>suffix</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <comment>Suffix to Name.</comment>
-       <add>1.1</add>
-       <drop>1.2</drop>
+    <name>suffix</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <comment>Suffix to Name.</comment>
+    <add>1.1</add>
+    <drop>1.2</drop>
   </field>
   <field>
-       <name>greeting_type</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>Preferred greeting format.</comment>
-      <add>1.1</add>
-      <drop>2.2</drop>
+    <name>greeting_type</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Preferred greeting format.</comment>
+    <add>1.1</add>
+    <drop>2.2</drop>
   </field>
   <field>
-       <name>greeting_type_id</name>
-       <title>Greeting Type</title>
-       <type>int unsigned</type>
-       <comment>FK to civicrm_option_value.id, that has to be valid, registered Greeting type.</comment>
-       <add>2.2</add>
+    <name>greeting_type_id</name>
+    <title>Greeting Type</title>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_option_value.id, that has to be valid, registered Greeting type.</comment>
+    <add>2.2</add>
   </field>
   <field>
-       <name>custom_greeting</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>Custom greeting message.</comment>
-      <add>1.1</add>
+    <name>custom_greeting</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Custom greeting message.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>job_title</name>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/^job|(j(ob\s)?title)$/i</headerPattern>
-       <dataPattern>//</dataPattern>
-       <comment>Job Title</comment>
-      <add>1.1</add>
+    <name>job_title</name>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/^job|(j(ob\s)?title)$/i</headerPattern>
+    <dataPattern>//</dataPattern>
+    <comment>Job Title</comment>
+    <add>1.1</add>
   </field>
   <field>
-      <name>gender_id</name>
-      <type>int unsigned</type>
-      <headerPattern>/^gender$/i</headerPattern>
-      <comment>FK to gender ID</comment>
-      <add>1.2</add>
+    <name>gender_id</name>
+    <type>int unsigned</type>
+    <headerPattern>/^gender$/i</headerPattern>
+    <comment>FK to gender ID</comment>
+    <add>1.2</add>
   </field>
   <index>
-     <name>UI_gender</name>
-     <fieldName>gender_id</fieldName>
-     <add>1.6</add>
+    <name>UI_gender</name>
+    <fieldName>gender_id</fieldName>
+    <add>1.6</add>
   </index>
   <field>
-       <name>birth_date</name>
-       <type>date</type>
-       <import>true</import>
-       <headerPattern>/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i</headerPattern>
-       <dataPattern>/\d{4}-?\d{2}-?\d{2}/</dataPattern>
-       <comment>Date of birth</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>is_deceased</name>
-       <title>Is Deceased</title>
-       <import>true</import>
-       <export>true</export>
-       <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>
-       <type>boolean</type>
-       <default>0</default>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>deceased_date</name>
-       <type>date</type>
-       <import>true</import>
-       <export>true</export>
-       <headerPattern>/^deceased|(d(eceased\s)?date)$/i</headerPattern>
-       <comment>Date of deceased</comment>
-       <add>1.5</add>
-  </field>
-  <field>
-      <name>phone_to_household_id</name>
-      <type>int unsigned</type>
-      <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct phone communications to household rather than individual location.</comment>
-      <add>1.1</add>
-  </field>
-  <field>
-      <name>email_to_household_id</name>
-      <type>int unsigned</type>
-      <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct phone communications to household rather than individual location.</comment>
-      <add>1.1</add>
-  </field>
-  <field>
-      <name>mail_to_household_id</name>
-      <type>int unsigned</type>
-      <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct mail communications to household rather than individual location.</comment>
-      <add>1.1</add>
+    <name>birth_date</name>
+    <type>date</type>
+    <import>true</import>
+    <headerPattern>/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i</headerPattern>
+    <dataPattern>/\d{4}-?\d{2}-?\d{2}/</dataPattern>
+    <comment>Date of birth</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>is_deceased</name>
+    <title>Is Deceased</title>
+    <import>true</import>
+    <export>true</export>
+    <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>
+    <type>boolean</type>
+    <default>0</default>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>deceased_date</name>
+    <type>date</type>
+    <import>true</import>
+    <export>true</export>
+    <headerPattern>/^deceased|(d(eceased\s)?date)$/i</headerPattern>
+    <comment>Date of deceased</comment>
+    <add>1.5</add>
+  </field>
+  <field>
+    <name>phone_to_household_id</name>
+    <type>int unsigned</type>
+    <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct phone communications to household
+      rather than individual location.
+    </comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>email_to_household_id</name>
+    <type>int unsigned</type>
+    <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct phone communications to household
+      rather than individual location.
+    </comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>mail_to_household_id</name>
+    <type>int unsigned</type>
+    <comment>OPTIONAL FK to civicrm_contact_household record. If NOT NULL, direct mail communications to household
+      rather than individual location.
+    </comment>
+    <add>1.1</add>
   </field>
   <index>
     <name>UI_contact</name>
index c5836fb0fe50a85f92facf46119ff14b5b2b96e5..bb5c88b82715f04e867b266c0a16181742ba2f4b 100644 (file)
@@ -8,75 +8,75 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique Organization ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique Organization ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to Contact ID</comment>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to Contact ID</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <field>
-       <name>organization_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <headerPattern>/^organization|(o(rganization\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <comment>Organization Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
+    <name>organization_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <headerPattern>/^organization|(o(rganization\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <comment>Organization Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <index>
-      <name>index_organization_name</name>
-      <fieldName>organization_name</fieldName>
-      <add>1.8</add>
+    <name>index_organization_name</name>
+    <fieldName>organization_name</fieldName>
+    <add>1.8</add>
   </index>
   <field>
-       <name>legal_name</name>
-       <type>varchar</type>
-       <length>128</length>
-       <import>true</import>
-       <headerPattern>/^legal|(l(egal\s)?name)$/i</headerPattern>
-       <comment>Legal Name.</comment>
-       <fulltext/>
-       <add>1.1</add>
+    <name>legal_name</name>
+    <type>varchar</type>
+    <length>128</length>
+    <import>true</import>
+    <headerPattern>/^legal|(l(egal\s)?name)$/i</headerPattern>
+    <comment>Legal Name.</comment>
+    <fulltext/>
+    <add>1.1</add>
   </field>
   <field>
-       <name>sic_code</name>
-       <type>varchar</type>
-       <length>8</length>
-       <import>true</import>
-       <headerPattern>/^sic|(s(ic\s)?code)$/i</headerPattern>
-       <comment>Standard Industry Classification Code.</comment>
-       <add>1.1</add>
+    <name>sic_code</name>
+    <type>varchar</type>
+    <length>8</length>
+    <import>true</import>
+    <headerPattern>/^sic|(s(ic\s)?code)$/i</headerPattern>
+    <comment>Standard Industry Classification Code.</comment>
+    <add>1.1</add>
   </field>
   <field>
-      <name>primary_contact_id</name>
-      <type>int unsigned</type>
-      <comment>Optional FK to Primary Contact for this organization.</comment>
-       <add>1.1</add>
+    <name>primary_contact_id</name>
+    <type>int unsigned</type>
+    <comment>Optional FK to Primary Contact for this organization.</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>primary_contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>primary_contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <index>
     <name>UI_contact</name>
index 20f3362b832818a3815f4f042cb798fcddaea97c..b3be05c34d50a36d3d722006fdb4efe0c56283fa 100644 (file)
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Relationship ID</title>
-      <required>true</required>
-      <comment>Relationship ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Relationship ID</title>
+    <required>true</required>
+    <comment>Relationship ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id_a</name>
-      <type>int unsigned</type>
-      <title>Contact A</title>
-      <required>true</required>
-      <comment>id of the first contact</comment>
-       <add>1.1</add>
+    <name>contact_id_a</name>
+    <type>int unsigned</type>
+    <title>Contact A</title>
+    <required>true</required>
+    <comment>id of the first contact</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id_a</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id_a</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contact_id_b</name>
-      <type>int unsigned</type>
-      <title>Contact B</title>
-      <required>true</required>
-      <comment>id of the second contact</comment>
-       <add>1.1</add>
+    <name>contact_id_b</name>
+    <type>int unsigned</type>
+    <title>Contact B</title>
+    <required>true</required>
+    <comment>id of the second contact</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id_b</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id_b</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>relationship_type_id</name>
-      <type>int unsigned</type>
-      <title>Relationship Type</title>
-      <required>true</required>
-      <comment>id of the relationship</comment>
-      <add>1.1</add>
+    <name>relationship_type_id</name>
+    <type>int unsigned</type>
+    <title>Relationship Type</title>
+    <required>true</required>
+    <comment>id of the relationship</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>relationship_type_id</name>
-       <table>civicrm_relationship_type</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>relationship_type_id</name>
+    <table>civicrm_relationship_type</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>start_date</name>
-       <type>date</type>
-       <title>Relationship Start Date</title>
-       <comment>date when the relationship started</comment>
-       <add>1.1</add>
+    <name>start_date</name>
+    <type>date</type>
+    <title>Relationship Start Date</title>
+    <comment>date when the relationship started</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>end_date</name>
-       <type>date</type>
-       <title>Relationship End Date</title>
-       <comment>date when the relationship ended</comment>
-       <add>1.1</add>
+    <name>end_date</name>
+    <type>date</type>
+    <title>Relationship End Date</title>
+    <comment>date when the relationship ended</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <title>Relationship Is Active</title>
-       <default>1</default>
-       <comment>is the relationship active ?</comment>
-       <add>1.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <title>Relationship Is Active</title>
+    <default>1</default>
+    <comment>is the relationship active ?</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <title>Relationship Description</title>
-       <length>255</length>
-       <comment>Optional verbose description for the relationship.</comment>
-       <add>1.5</add>
+    <name>description</name>
+    <type>varchar</type>
+    <title>Relationship Description</title>
+    <length>255</length>
+    <comment>Optional verbose description for the relationship.</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>is_permission_a_b</name>
-       <type>boolean</type>
-       <title>Contact A has Permission Over Contact B</title>
-       <default>0</default>
-       <comment>is contact a has permission to view / edit contact and
-  related data for contact b ?</comment>
-       <add>2.1</add>
+    <name>is_permission_a_b</name>
+    <type>boolean</type>
+    <title>Contact A has Permission Over Contact B</title>
+    <default>0</default>
+    <comment>is contact a has permission to view / edit contact and
+      related data for contact b ?
+    </comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_permission_b_a</name>
-       <type>boolean</type>
-       <title>Contact B has Permission Over Contact A</title>
-       <default>0</default>
-       <comment>is contact b has permission to view / edit contact and
-  related data for contact a ?</comment>
-       <add>2.1</add>
+    <name>is_permission_b_a</name>
+    <type>boolean</type>
+    <title>Contact B has Permission Over Contact A</title>
+    <default>0</default>
+    <comment>is contact b has permission to view / edit contact and
+      related data for contact a ?
+    </comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>case_id</name>
-       <type>int unsigned</type>
-       <title>Relationship Case</title>
-       <default>NULL</default>
-       <comment>FK to civicrm_case</comment>
-       <add>2.2</add>
+    <name>case_id</name>
+    <type>int unsigned</type>
+    <title>Relationship Case</title>
+    <default>NULL</default>
+    <comment>FK to civicrm_case</comment>
+    <add>2.2</add>
   </field>
   <foreignKey>
-       <name>case_id</name>
-       <table>civicrm_case</table>
-       <key>id</key>
-       <add>2.2</add>
-       <onDelete>CASCADE</onDelete>
+    <name>case_id</name>
+    <table>civicrm_case</table>
+    <key>id</key>
+    <add>2.2</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
 </table>
index 1416a1da8841a3ebbbab671e7d98929c4061dc15..b2cf321ba21e2de0da5626cfda08cd7978ec4740 100644 (file)
   <base>CRM/Contact</base>
   <class>RelationshipType</class>
   <name>civicrm_relationship_type</name>
-  <comment>Relationship types s/b structured with contact_a as the 'subject/child' contact and contact_b as the 'object/parent' contact (e.g. Individual A is Employee of Org B).</comment>
+  <comment>Relationship types s/b structured with contact_a as the 'subject/child' contact and contact_b as the
+    'object/parent' contact (e.g. Individual A is Employee of Org B).
+  </comment>
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Relationship Type ID</title>
-      <required>true</required>
-      <comment>Primary key</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Relationship Type ID</title>
+    <required>true</required>
+    <comment>Primary key</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name_a_b</name>
-       <type>varchar</type>
-       <title>Relationship Type Name A to B</title>
-       <length>64</length>
-       <comment>name for relationship of contact_a to contact_b.</comment>
-       <add>1.1</add>
+    <name>name_a_b</name>
+    <type>varchar</type>
+    <title>Relationship Type Name A to B</title>
+    <length>64</length>
+    <comment>name for relationship of contact_a to contact_b.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>label_a_b</name>
-       <type>varchar</type>
-       <title>Relationship Type Label A to B</title>
-       <length>64</length>
-       <comment>label for relationship of contact_a to contact_b.</comment>
-       <add>3.0</add>
+    <name>label_a_b</name>
+    <type>varchar</type>
+    <title>Relationship Type Label A to B</title>
+    <length>64</length>
+    <comment>label for relationship of contact_a to contact_b.</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>name_b_a</name>
-       <type>varchar</type>
-       <title>Relationship Type Name B to A</title>
-       <length>64</length>
-       <comment>Optional name for relationship of contact_b to contact_a.</comment>
-       <add>1.1</add>
+    <name>name_b_a</name>
+    <type>varchar</type>
+    <title>Relationship Type Name B to A</title>
+    <length>64</length>
+    <comment>Optional name for relationship of contact_b to contact_a.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>label_b_a</name>
-       <type>varchar</type>
-       <title>Relationship Type Label B to A</title>
-       <length>64</length>
-       <comment>Optional label for relationship of contact_b to contact_a.</comment>
-       <add>3.0</add>
+    <name>label_b_a</name>
+    <type>varchar</type>
+    <title>Relationship Type Label B to A</title>
+    <length>64</length>
+    <comment>Optional label for relationship of contact_b to contact_a.</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <title>Relationship Description</title>
-       <length>255</length>
-       <comment>Optional verbose description of the relationship type.</comment>
-       <add>1.1</add>
+    <name>description</name>
+    <type>varchar</type>
+    <title>Relationship Description</title>
+    <length>255</length>
+    <comment>Optional verbose description of the relationship type.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>contact_type_a</name>
-       <title>Contact Type for Contact A</title>
-       <type>varchar</type>
-       <length>12</length>
-       <comment>If defined, contact_a in a relationship of this type must be a specific contact_type.</comment>
-       <pseudoconstant>
-         <callback>CRM_Contact_BAO_ContactType::getSelectElements</callback>
-       </pseudoconstant>
-       <add>1.1</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>contact_type_a</name>
+    <title>Contact Type for Contact A</title>
+    <type>varchar</type>
+    <length>12</length>
+    <comment>If defined, contact_a in a relationship of this type must be a specific contact_type.</comment>
+    <pseudoconstant>
+      <callback>CRM_Contact_BAO_ContactType::getSelectElements</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>contact_type_b</name>
-       <title>Contact Type for Contact B</title>
-       <type>varchar</type>
-       <length>12</length>
-       <comment>If defined, contact_b in a relationship of this type must be a specific contact_type.</comment>
-       <pseudoconstant>
-         <callback>CRM_Contact_BAO_ContactType::getSelectElements</callback>
-       </pseudoconstant>
-       <add>1.1</add>
-       <html>
-        <type>Select</type>
-      </html>
+    <name>contact_type_b</name>
+    <title>Contact Type for Contact B</title>
+    <type>varchar</type>
+    <length>12</length>
+    <comment>If defined, contact_b in a relationship of this type must be a specific contact_type.</comment>
+    <pseudoconstant>
+      <callback>CRM_Contact_BAO_ContactType::getSelectElements</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>contact_sub_type_a</name>
-       <title>Contact Subtype A</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.</comment>
-       <add>3.1</add>
-       <html>
-        <type>Select</type>
-      </html>
+    <name>contact_sub_type_a</name>
+    <title>Contact Subtype A</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>If defined, contact_sub_type_a in a relationship of this type must be a specific contact_sub_type.
+    </comment>
+    <add>3.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>contact_sub_type_b</name>
-       <title>Contact Subtype B</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.</comment>
-       <add>3.1</add>
-       <html>
-        <type>Select</type>
-      </html>
+    <name>contact_sub_type_b</name>
+    <title>Contact Subtype B</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>If defined, contact_sub_type_b in a relationship of this type must be a specific contact_sub_type.
+    </comment>
+    <add>3.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>is_reserved</name>
-       <type>boolean</type>
-        <title>Relationship Type is Reserved</title>
-       <comment>Is this relationship type a predefined system type (can not be changed or de-activated)?</comment>
-       <add>1.1</add>
+    <name>is_reserved</name>
+    <type>boolean</type>
+    <title>Relationship Type is Reserved</title>
+    <comment>Is this relationship type a predefined system type (can not be changed or de-activated)?</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_active</name>
-       <title>Relationship Type is Active</title>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this relationship type currently active (i.e. can be used when creating or editing relationships)?</comment>
-       <add>1.1</add>
+    <name>is_active</name>
+    <title>Relationship Type is Active</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this relationship type currently active (i.e. can be used when creating or editing relationships)?
+    </comment>
+    <add>1.1</add>
   </field>
   <index>
     <name>UI_name_a_b</name>
index 680ccbac872e2e8378740f8ce2201d003d2f008f..5ac148e228c13cf4d06eea2c1a5187a697f2db78 100644 (file)
@@ -7,74 +7,74 @@
   <comment>Users can save their complex SQL queries and use them later.</comment>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Saved search ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Saved search ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>false</autoincrement>
+    <name>id</name>
+    <autoincrement>false</autoincrement>
   </primaryKey>
   <field>
-       <name>query</name>
-       <title>SQL Query</title>
-       <type>text</type>
-       <import>true</import>
-       <comment>SQL query for this search</comment>
-       <add>1.1</add>
-       <drop>1.5</drop>
+    <name>query</name>
+    <title>SQL Query</title>
+    <type>text</type>
+    <import>true</import>
+    <comment>SQL query for this search</comment>
+    <add>1.1</add>
+    <drop>1.5</drop>
   </field>
   <field>
-       <name>form_values</name>
-       <title>Submitted Form Values</title>
-       <type>text</type>
-       <import>true</import>
-       <comment>Submitted form values for this search</comment>
-       <add>1.1</add>
+    <name>form_values</name>
+    <title>Submitted Form Values</title>
+    <type>text</type>
+    <import>true</import>
+    <comment>Submitted form values for this search</comment>
+    <add>1.1</add>
   </field>
-<field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this entry active?</comment>
-       <add>1.1</add>
-       <drop>1.5</drop>
+  <field>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this entry active?</comment>
+    <add>1.1</add>
+    <drop>1.5</drop>
   </field>
   <field>
-       <name>mapping_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to civicrm_mapping used for saved search-builder searches.</comment>
-       <add>1.5</add>
+    <name>mapping_id</name>
+    <type>int unsigned</type>
+    <comment>Foreign key to civicrm_mapping used for saved search-builder searches.</comment>
+    <add>1.5</add>
   </field>
   <foreignKey>
-       <name>mapping_id</name>
-       <table>civicrm_mapping</table>
-       <key>id</key>
-       <add>1.5</add>
+    <name>mapping_id</name>
+    <table>civicrm_mapping</table>
+    <key>id</key>
+    <add>1.5</add>
   </foreignKey>
   <field>
-       <name>search_custom_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to civicrm_option value table used for saved custom searches.</comment>
-       <add>2.0</add>
+    <name>search_custom_id</name>
+    <type>int unsigned</type>
+    <comment>Foreign key to civicrm_option value table used for saved custom searches.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>where_clause</name>
-       <type>text</type>
-       <comment>the sql where clause if a saved search acl</comment>
-       <add>1.6</add>
+    <name>where_clause</name>
+    <type>text</type>
+    <comment>the sql where clause if a saved search acl</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>select_tables</name>
-       <type>text</type>
-       <comment>the tables to be included in a select data</comment>
-       <add>1.6</add>
+    <name>select_tables</name>
+    <type>text</type>
+    <comment>the tables to be included in a select data</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>where_tables</name>
-       <type>text</type>
-       <comment>the tables to be included in the count statement</comment>
-       <add>1.6</add>
+    <name>where_tables</name>
+    <type>text</type>
+    <comment>the tables to be included in the count statement</comment>
+    <add>1.6</add>
   </field>
 </table>
index af7dacdce06571c7ba0ecf3dc8b4addb2acf64c0..83f55d9db8a38ee9c27492075f56683d91f2f285 100644 (file)
@@ -1,93 +1,93 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 
 <table>
-    <base>CRM/Contact</base>
-    <class>SubscriptionHistory</class>
-    <name>civicrm_subscription_history</name>
-    <comment>History information of subscribe/unsubscribe actions</comment>
+  <base>CRM/Contact</base>
+  <class>SubscriptionHistory</class>
+  <name>civicrm_subscription_history</name>
+  <comment>History information of subscribe/unsubscribe actions</comment>
+  <add>1.1</add>
+  <log>true</log>
+  <field>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Internal Id</comment>
     <add>1.1</add>
-    <log>true</log>
-    <field>
-        <name>id</name>
-        <type>int unsigned</type>
-        <required>true</required>
-        <comment>Internal Id</comment>
-       <add>1.1</add>
-    </field>
-    <primaryKey>
-        <name>id</name>
-        <autoincrement>true</autoincrement>
-    </primaryKey>
-    <field>
-        <name>contact_id</name>
-        <type>int unsigned</type>
-        <required>true</required>
-        <comment>Contact Id</comment>
-       <add>1.1</add>
-    </field>
-    <foreignKey>
-        <name>contact_id</name>
-        <table>civicrm_contact</table>
-        <key>id</key>
-        <add>1.1</add>
-        <onDelete>CASCADE</onDelete>
-    </foreignKey>
-    <field>
-      <name>group_id</name>
-      <type>int unsigned</type>
-      <comment>Group Id</comment>
-      <add>1.1</add>
-      <pseudoconstant>
-        <table>civicrm_group</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>title</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-    </field>
-    <foreignKey>
-       <name>group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
-    </foreignKey>
-    <field>
-        <name>date</name>
-        <type>datetime</type>
-        <required>true</required>
-        <comment>Date of the (un)subscription</comment>
-       <add>1.1</add>
-    </field>
-    <field>
-        <name>method</name>
-        <type>varchar</type>
-        <length>8</length>
-        <comment>How the (un)subscription was triggered</comment>
-        <pseudoconstant>
-          <callback>CRM_Core_SelectValues::getSubscriptionHistoryMethods</callback>
-        </pseudoconstant>
-       <add>1.1</add>
-       <html>
-         <type>Select</type>
-       </html>
-    </field>
-    <field>
-        <name>status</name>
-        <type>varchar</type>
-        <length>8</length>
-        <comment>The state of the contact within the group</comment>
-        <pseudoconstant>
-          <callback>CRM_Core_SelectValues::groupContactStatus</callback>
-        </pseudoconstant>
-       <add>1.1</add>
-    </field>
-    <field>
-        <name>tracking</name>
-        <type>varchar</type>
-        <length>255</length>
-        <comment>IP address or other tracking info</comment>
-       <add>1.1</add>
-    </field>
+  </field>
+  <primaryKey>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
+  </primaryKey>
+  <field>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Contact Id</comment>
+    <add>1.1</add>
+  </field>
+  <foreignKey>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
+  </foreignKey>
+  <field>
+    <name>group_id</name>
+    <type>int unsigned</type>
+    <comment>Group Id</comment>
+    <add>1.1</add>
+    <pseudoconstant>
+      <table>civicrm_group</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
+  <foreignKey>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
+  </foreignKey>
+  <field>
+    <name>date</name>
+    <type>datetime</type>
+    <required>true</required>
+    <comment>Date of the (un)subscription</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>method</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>How the (un)subscription was triggered</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getSubscriptionHistoryMethods</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
+  <field>
+    <name>status</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>The state of the contact within the group</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::groupContactStatus</callback>
+    </pseudoconstant>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>tracking</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>IP address or other tracking info</comment>
+    <add>1.1</add>
+  </field>
 </table>
index 46590049957a7a98df2c592997dd24b4ea5149ad..6aecf0204801e2f15f17f70ea9f5809203c4b946 100644 (file)
   <add>2.2</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <uniqueName>contribution_soft_id</uniqueName>
-      <type>int unsigned</type>
-      <required>true</required>
-      <import>true</import>
-      <title>Soft Contribution ID</title>
-      <comment>Soft Contribution ID</comment>
-      <add>2.2</add>
+    <name>id</name>
+    <uniqueName>contribution_soft_id</uniqueName>
+    <type>int unsigned</type>
+    <required>true</required>
+    <import>true</import>
+    <title>Soft Contribution ID</title>
+    <comment>Soft Contribution ID</comment>
+    <add>2.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contribution_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to contribution table.</comment>
-      <add>2.2</add>
+    <name>contribution_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to contribution table.</comment>
+    <add>2.2</add>
   </field>
   <foreignKey>
-       <name>contribution_id</name>
-       <table>civicrm_contribution</table>
-       <key>id</key>
-       <add>2.2</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contribution_id</name>
+    <table>civicrm_contribution</table>
+    <key>id</key>
+    <add>2.2</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <uniqueName>contribution_soft_contact_id</uniqueName>
-      <title>Contact ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <import>true</import>
-      <headerPattern>/contact(.?id)?/i</headerPattern>
-      <dataPattern>/^\d+$/</dataPattern>
-      <comment>FK to Contact ID</comment>
-      <add>2.2</add>
+    <name>contact_id</name>
+    <uniqueName>contribution_soft_contact_id</uniqueName>
+    <title>Contact ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <import>true</import>
+    <headerPattern>/contact(.?id)?/i</headerPattern>
+    <dataPattern>/^\d+$/</dataPattern>
+    <comment>FK to Contact ID</comment>
+    <add>2.2</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.2</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.2</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>amount</name>
-      <type>decimal</type>
-      <required>true</required>
-      <import>true</import>
-      <headerPattern>/total(.?am(ou)?nt)?/i</headerPattern>
-      <dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
-      <comment>Amount of this soft contribution.</comment>
-      <add>2.2</add>
+    <name>amount</name>
+    <type>decimal</type>
+    <required>true</required>
+    <import>true</import>
+    <headerPattern>/total(.?am(ou)?nt)?/i</headerPattern>
+    <dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
+    <comment>Amount of this soft contribution.</comment>
+    <add>2.2</add>
   </field>
   <field>
-      <name>currency</name>
-      <type>varchar</type>
-      <length>3</length>
-      <default>NULL</default>
-      <comment>3 character string, value from config setting or input via user.</comment>
-      <add>3.2</add>
-      <pseudoconstant>
-        <table>civicrm_currency</table>
-        <keyColumn>name</keyColumn>
-        <labelColumn>full_name</labelColumn>
-        <nameColumn>numeric_code</nameColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>currency</name>
+    <type>varchar</type>
+    <length>3</length>
+    <default>NULL</default>
+    <comment>3 character string, value from config setting or input via user.</comment>
+    <add>3.2</add>
+    <pseudoconstant>
+      <table>civicrm_currency</table>
+      <keyColumn>name</keyColumn>
+      <labelColumn>full_name</labelColumn>
+      <nameColumn>numeric_code</nameColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-      <name>pcp_id</name>
-      <type>int unsigned</type>
-      <default>NULL</default>
-      <comment>FK to civicrm_pcp.id</comment>
-      <add>2.2</add>
+    <name>pcp_id</name>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <comment>FK to civicrm_pcp.id</comment>
+    <add>2.2</add>
   </field>
   <foreignKey>
-      <name>pcp_id</name>
-      <table>civicrm_pcp</table>
-      <key>id</key>
-      <add>3.1</add>
-      <onDelete>SET NULL</onDelete>
+    <name>pcp_id</name>
+    <table>civicrm_pcp</table>
+    <key>id</key>
+    <add>3.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <index>
-      <name>index_id</name>
-      <fieldName>pcp_id</fieldName>
-      <add>2.2</add>
-   </index>
-   <field>
-      <name>pcp_display_in_roll</name>
-      <type>boolean</type>
-      <default>0</default>
-      <add>2.2</add>
+    <name>index_id</name>
+    <fieldName>pcp_id</fieldName>
+    <add>2.2</add>
+  </index>
+  <field>
+    <name>pcp_display_in_roll</name>
+    <type>boolean</type>
+    <default>0</default>
+    <add>2.2</add>
   </field>
   <field>
-       <name>pcp_roll_nickname</name>
-       <type>varchar</type>
-       <length>255</length>
-       <default>NULL</default>
-       <add>2.2</add>
+    <name>pcp_roll_nickname</name>
+    <type>varchar</type>
+    <length>255</length>
+    <default>NULL</default>
+    <add>2.2</add>
   </field>
   <field>
-       <name>pcp_personal_note</name>
-       <type>varchar</type>
-       <length>255</length>
-       <default>NULL</default>
-       <add>2.2</add>
+    <name>pcp_personal_note</name>
+    <type>varchar</type>
+    <length>255</length>
+    <default>NULL</default>
+    <add>2.2</add>
   </field>
   <field>
-       <name>soft_credit_type_id</name>
-       <type>int unsigned</type>
-       <default>NULL</default>
-       <title>Soft Credit Type</title>
-       <pseudoconstant>
-         <optionGroupName>soft_credit_type</optionGroupName>
-       </pseudoconstant>
-       <comment>Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.</comment>
-       <add>2.2</add>
+    <name>soft_credit_type_id</name>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <title>Soft Credit Type</title>
+    <pseudoconstant>
+      <optionGroupName>soft_credit_type</optionGroupName>
+    </pseudoconstant>
+    <comment>Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.</comment>
+    <add>2.2</add>
   </field>
 </table>
index bee97aa25094d74b40458c50a76fab5cb05a2081..14fc88e2471fc1e054036be0516cf58bddcd8ed8 100644 (file)
   <add>2.0</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Contribution Id</comment>
-      <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Contribution Id</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contribution_page_id</name>
-      <type>int unsigned</type>
-      <comment>The Contribution Page which triggered this contribution</comment>
-      <add>1.5</add>
+    <name>contribution_page_id</name>
+    <type>int unsigned</type>
+    <comment>The Contribution Page which triggered this contribution</comment>
+    <add>1.5</add>
   </field>
   <foreignKey>
-       <name>contribution_page_id</name>
-       <table>civicrm_contribution_page</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>contribution_page_id</name>
+    <table>civicrm_contribution_page</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this property active?</comment>
-       <add>2.0</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this property active?</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>title</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Widget title.</comment>
-       <add>2.0</add>
+    <name>title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Widget title.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>url_logo</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>URL to Widget logo</comment>
-       <add>2.0</add>
+    <name>url_logo</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>URL to Widget logo</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>button_title</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Button title.</comment>
-       <add>2.0</add>
+    <name>button_title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Button title.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>about</name>
-       <type>text</type>
-       <comment>About description.</comment>
-       <add>2.0</add>
+    <name>about</name>
+    <type>text</type>
+    <comment>About description.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>url_homepage</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>URL to Homepage.</comment>
-       <add>2.0</add>
+    <name>url_homepage</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>URL to Homepage.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_title</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_title</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_button</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_button</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_bar</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_bar</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_main_text</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_main_text</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_main</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_main</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_main_bg</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_main_bg</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_bg</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_bg</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_about_link</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_about_link</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
   <field>
-       <name>color_homepage_link</name>
-       <type>varchar</type>
-       <length>10</length>
-       <add>2.0</add>
+    <name>color_homepage_link</name>
+    <type>varchar</type>
+    <length>10</length>
+    <add>2.0</add>
   </field>
 </table>
index 09f05039b227feb03c0256470eedc06f1682be53..17c7aa0da15290fe3ed9b18058655940a36162bd 100644 (file)
@@ -7,84 +7,84 @@
   <comment>Table to store log for the reminder.</comment>
   <add>3.4</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.4</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.4</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>3.4</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>3.4</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>3.4</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.4</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>entity_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to id of the entity that the action was performed on. Pseudo - FK.</comment>
-      <add>3.4</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to id of the entity that the action was performed on. Pseudo - FK.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant</comment>
-       <add>3.4</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant</comment>
+    <add>3.4</add>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
-       <add>3.4</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>3.4</add>
   </dynamicForeignKey>
   <field>
-      <name>action_schedule_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to the action schedule that this action originated from.</comment>
-      <add>3.4</add>
+    <name>action_schedule_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to the action schedule that this action originated from.</comment>
+    <add>3.4</add>
   </field>
   <foreignKey>
-       <name>action_schedule_id</name>
-       <table>civicrm_action_schedule</table>
-       <key>id</key>
-       <add>3.4</add>
-       <onDelete>CASCADE</onDelete>
+    <name>action_schedule_id</name>
+    <table>civicrm_action_schedule</table>
+    <key>id</key>
+    <add>3.4</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>action_date_time</name>
-      <type>datetime</type>
-      <comment>date time that the action was performed on.</comment>
-      <add>3.4</add>
+    <name>action_date_time</name>
+    <type>datetime</type>
+    <comment>date time that the action was performed on.</comment>
+    <add>3.4</add>
   </field>
   <field>
-      <name>is_error</name>
-      <type>boolean</type>
-      <default>0</default>
-      <comment>Was there any error sending the reminder?</comment>
-      <add>3.4</add>
+    <name>is_error</name>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Was there any error sending the reminder?</comment>
+    <add>3.4</add>
   </field>
   <field>
-     <name>message</name>
-     <type>text</type>
-     <comment>Description / text in case there was an error encountered.</comment>
-     <add>3.4</add>
+    <name>message</name>
+    <type>text</type>
+    <comment>Description / text in case there was an error encountered.</comment>
+    <add>3.4</add>
   </field>
   <field>
-      <name>repetition_number</name>
-      <type>int unsigned</type>
-      <comment>Keeps track of the sequence number of this repetition.</comment>
-      <add>3.4</add>
+    <name>repetition_number</name>
+    <type>int unsigned</type>
+    <comment>Keeps track of the sequence number of this repetition.</comment>
+    <add>3.4</add>
   </field>
 </table>
index f4efcfdb774df95bf30c60f3ab82d2edda89def7..e889c3bc3dfd545bd8e5bf1f538958e8e31656d3 100644 (file)
@@ -7,69 +7,69 @@
   <comment>Table to store mapping for the reminder.</comment>
   <add>3.4</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.4</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.4</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity for which the reminder is created</comment>
-       <add>3.4</add>
+    <name>entity</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity for which the reminder is created</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_value</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity value</comment>
-       <add>3.4</add>
+    <name>entity_value</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity value</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_value_label</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity value label</comment>
-       <add>3.4</add>
+    <name>entity_value_label</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity value label</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_status</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity status</comment>
-       <add>3.4</add>
+    <name>entity_status</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity status</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_status_label</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity status label</comment>
-       <add>3.4</add>
+    <name>entity_status_label</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity status label</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_date_start</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity date</comment>
-       <add>3.4</add>
+    <name>entity_date_start</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity date</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_date_end</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity date</comment>
-       <add>3.4</add>
+    <name>entity_date_end</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity date</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_recipient</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity recipient</comment>
-       <add>3.4</add>
+    <name>entity_recipient</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity recipient</comment>
+    <add>3.4</add>
   </field>
 </table>
index bdb9bc9b9c30e536e764e0ef6090b4b27b41f92d..6d941768a2874bee04991e47a1977290698f272a 100644 (file)
   <comment>Table to store the reminders.</comment>
   <add>3.4</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.4</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.4</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Name</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Name of the action(reminder)</comment>
-       <add>3.4</add>
+    <name>name</name>
+    <title>Name</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Name of the action(reminder)</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>title</name>
-       <title>Title</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Title of the action(reminder)</comment>
-       <add>3.4</add>
-  </field>
+    <name>title</name>
+    <title>Title</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Title of the action(reminder)</comment>
+    <add>3.4</add>
+  </field>
   <field>
-       <name>recipient</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Recipient</comment>
-       <add>3.4</add>
+    <name>recipient</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Recipient</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>limit_to</name>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this the recipient criteria limited to OR in addition to?</comment>
-       <add>4.4</add>
+    <name>limit_to</name>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this the recipient criteria limited to OR in addition to?</comment>
+    <add>4.4</add>
   </field>
   <field>
-       <name>entity_value</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity value</comment>
-       <add>3.4</add>
+    <name>entity_value</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity value</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>entity_status</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity status</comment>
-       <add>3.4</add>
+    <name>entity_status</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity status</comment>
+    <add>3.4</add>
+  </field>
+  <field>
+    <name>start_action_offset</name>
+    <type>int unsigned</type>
+    <comment>Reminder Interval.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>start_action_offset</name>
-       <type>int unsigned</type>
-       <comment>Reminder Interval.</comment>
-       <add>3.4</add>
-  </field>
+    <name>start_action_unit</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Time units for reminder.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
+    </pseudoconstant>
+    <add>3.4</add>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
   <field>
-       <name>start_action_unit</name>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Time units for reminder.</comment>
-       <pseudoconstant>
-        <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
-       </pseudoconstant>
-       <add>3.4</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>start_action_condition</name>
+    <type>varchar</type>
+    <length>32</length>
+    <comment>Reminder Action</comment>
+    <add>3.4</add>
   </field>
-  <field>
-       <name>start_action_condition</name>
-       <type>varchar</type>
-       <length>32</length>
-       <comment>Reminder Action</comment>
-       <add>3.4</add>
+  <field>
+    <name>start_action_date</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity date</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>start_action_date</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity date</comment>
-       <add>3.4</add>
+    <name>is_repeat</name>
+    <title>Repeat?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <add>3.4</add>
   </field>
   <field>
-       <name>is_repeat</name>
-       <title>Repeat?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <add>3.4</add>
-  </field>
+    <name>repetition_frequency_unit</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Time units for repetition of reminder.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
+    </pseudoconstant>
+    <add>3.4</add>
+    <html>
+      <type>Select</type>
+    </html>
+  </field>
   <field>
-       <name>repetition_frequency_unit</name>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Time units for repetition of reminder.</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
-       </pseudoconstant>
-       <add>3.4</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>repetition_frequency_interval</name>
+    <type>int unsigned</type>
+    <comment>Time interval for repeating the reminder.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>repetition_frequency_interval</name>
-       <type>int unsigned</type>
-       <comment>Time interval for repeating the reminder.</comment>
-       <add>3.4</add>
+    <name>end_frequency_unit</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Time units till repetition of reminder.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
+    </pseudoconstant>
+    <add>3.4</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>end_frequency_unit</name>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Time units till repetition of reminder.</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getScheduleReminderFrequencyUnits</callback>
-       </pseudoconstant>
-       <add>3.4</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>end_frequency_interval</name>
+    <type>int unsigned</type>
+    <comment>Time interval till repeating the reminder.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>end_frequency_interval</name>
-       <type>int unsigned</type>
-       <comment>Time interval till repeating the reminder.</comment>
-       <add>3.4</add>
+    <name>end_action</name>
+    <type>varchar</type>
+    <length>32</length>
+    <comment>Reminder Action till repeating the reminder.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>end_action</name>
-       <type>varchar</type>
-       <length>32</length>
-       <comment>Reminder Action till repeating the reminder.</comment>
-       <add>3.4</add>
+    <name>end_date</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Entity end date</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>end_date</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Entity end date</comment>
-       <add>3.4</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this option active?</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this option active?</comment>
-       <add>3.4</add>
+    <name>recipient_manual</name>
+    <title>Recipient Manual</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Contact IDs to which reminder should be sent.</comment>
+    <add>3.4</add>
   </field>
- <field>
-      <name>recipient_manual</name>
-      <title>Recipient Manual</title>
-      <type>varchar</type>
-      <length>128</length>
-      <comment>Contact IDs to which reminder should be sent.</comment>
-      <add>3.4</add>
-  </field>
-  <field>
-      <name>recipient_listing</name>
-      <title>Recipient Listing</title>
-      <type>varchar</type>
-      <length>128</length>
-      <comment>listing based on recipient field.</comment>
-      <add>4.1</add>
+  <field>
+    <name>recipient_listing</name>
+    <title>Recipient Listing</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>listing based on recipient field.</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>body_text</name>
-       <type>longtext</type>
-       <comment>Body of the mailing in text format.</comment>
-       <add>3.4</add>
+    <name>body_text</name>
+    <type>longtext</type>
+    <comment>Body of the mailing in text format.</comment>
+    <add>3.4</add>
   </field>
   <field>
-       <name>body_html</name>
-       <type>longtext</type>
-       <comment>Body of the mailing in html format.</comment>
-       <add>3.4</add>
+    <name>body_html</name>
+    <type>longtext</type>
+    <comment>Body of the mailing in html format.</comment>
+    <add>3.4</add>
   </field>
-  <field>
-       <name>subject</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>Subject of mailing</comment>
-       <add>3.4</add>
+  <field>
+    <name>subject</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Subject of mailing</comment>
+    <add>3.4</add>
   </field>
- <field>
-       <name>record_activity</name>
-       <type>boolean</type>
-       <default>NULL</default>
-       <comment>Record Activity for this reminder?</comment>
-       <add>3.4</add>
 <field>
+    <name>record_activity</name>
+    <type>boolean</type>
+    <default>NULL</default>
+    <comment>Record Activity for this reminder?</comment>
+    <add>3.4</add>
   </field>
-  <field>
-      <name>mapping_id</name>
-      <type>int unsigned</type>
-      <comment>FK to mapping which is being used by this reminder</comment>
-      <add>3.4</add>
+  <field>
+    <name>mapping_id</name>
+    <type>int unsigned</type>
+    <comment>FK to mapping which is being used by this reminder</comment>
+    <add>3.4</add>
   </field>
   <foreignKey>
-       <name>mapping_id</name>
-       <table>civicrm_action_mapping</table>
-       <key>id</key>
-       <onDelete>SET NULL</onDelete>
+    <name>mapping_id</name>
+    <table>civicrm_action_mapping</table>
+    <key>id</key>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
     <name>group_id</name>
     </html>
     <add>3.4</add>
   </field>
-    <foreignKey>
-        <name>group_id</name>
-        <table>civicrm_group</table>
-        <key>id</key>
-        <onDelete>SET NULL</onDelete>
-    </foreignKey>
-    <field>
-          <name>msg_template_id</name>
+  <foreignKey>
+    <name>group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <onDelete>SET NULL</onDelete>
+  </foreignKey>
+  <field>
+    <name>msg_template_id</name>
     <type>int unsigned</type>
     <comment>FK to the message template.</comment>
-    </field>
-    <foreignKey>
-          <name>msg_template_id</name>
+  </field>
+  <foreignKey>
+    <name>msg_template_id</name>
     <table>civicrm_msg_template</table>
     <key>id</key>
     <onDelete>SET NULL</onDelete>
-    </foreignKey>
-    <field>
-       <name>absolute_date</name>
-       <type>date</type>
-       <comment>Date on which the reminder be sent.</comment>
-       <add>4.1</add>
+  </foreignKey>
+  <field>
+    <name>absolute_date</name>
+    <type>date</type>
+    <comment>Date on which the reminder be sent.</comment>
+    <add>4.1</add>
   </field>
   <field>
     <name>from_name</name>
index 9bee1de75501f0ebf6c5675382c7ac63de26fe56..06358293723f9e5007840e5e088ce5693c0de1b7 100644 (file)
@@ -4,49 +4,51 @@
   <base>CRM/Core</base>
   <class>Address</class>
   <name>civicrm_address</name>
-  <comment>Stores the physical street / mailing address. This format should be capable of storing ALL international addresses.</comment>
+  <comment>Stores the physical street / mailing address. This format should be capable of storing ALL international
+    addresses.
+  </comment>
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Address ID</title>
-      <required>true</required>
-      <comment>Unique Address ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Address ID</title>
+    <required>true</required>
+    <comment>Unique Address ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <title>Contact ID</title>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>2.0</add>
+    <name>contact_id</name>
+    <title>Contact ID</title>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.0</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.0</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>location_type_id</name>
-      <title>Address Location Type</title>
-      <type>int unsigned</type>
-      <comment>Which Location does this address belong to.</comment>
-      <add>2.0</add>
-      <pseudoconstant>
-        <table>civicrm_location_type</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>display_name</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>location_type_id</name>
+    <title>Address Location Type</title>
+    <type>int unsigned</type>
+    <comment>Which Location does this address belong to.</comment>
+    <add>2.0</add>
+    <pseudoconstant>
+      <table>civicrm_location_type</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>display_name</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>index_location_type</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>is_primary</name>
-       <title>Is Address Primary?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this the primary address.</comment>
-       <add>2.0</add>
+    <name>is_primary</name>
+    <title>Is Address Primary?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this the primary address.</comment>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_is_primary</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>is_billing</name>
-       <title>Is Billing Address</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this the billing address.</comment>
-       <add>2.0</add>
+    <name>is_billing</name>
+    <title>Is Billing Address</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this the billing address.</comment>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_is_billing</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>street_address</name>
-       <title>Street Address</title>
-       <type>varchar</type>
-       <length>96</length>
-       <import>true</import>
-       <headerPattern>/(street|address)/i</headerPattern>
-       <dataPattern>/^(\d{1,5}( [0-9A-Za-z]+)+)$|^(P\.?O\.\? Box \d{1,5})$/i</dataPattern>
-       <comment>Concatenation of all routable street address components (prefix, street number, street name, suffix, unit number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail delivery, etc.).</comment>
-       <add>1.1</add>
+    <name>street_address</name>
+    <title>Street Address</title>
+    <type>varchar</type>
+    <length>96</length>
+    <import>true</import>
+    <headerPattern>/(street|address)/i</headerPattern>
+    <dataPattern>/^(\d{1,5}( [0-9A-Za-z]+)+)$|^(P\.?O\.\? Box \d{1,5})$/i</dataPattern>
+    <comment>Concatenation of all routable street address components (prefix, street number, street name, suffix, unit
+      number OR P.O. Box). Apps should be able to determine physical location with this data (for mapping, mail
+      delivery, etc.).
+    </comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_number</name>
-       <title>Street Number</title>
-       <type>int</type>
-       <export>true</export>
-       <comment>Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.</comment>
-       <add>1.1</add>
+    <name>street_number</name>
+    <title>Street Number</title>
+    <type>int</type>
+    <export>true</export>
+    <comment>Numeric portion of address number on the street, e.g. For 112A Main St, the street_number = 112.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_number_suffix</name>
-       <title>Street Number Suffix</title>
-       <type>varchar</type>
-       <length>8</length>
-       <export>true</export>
-       <comment>Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A</comment>
-       <add>1.1</add>
+    <name>street_number_suffix</name>
+    <title>Street Number Suffix</title>
+    <type>varchar</type>
+    <length>8</length>
+    <export>true</export>
+    <comment>Non-numeric portion of address number on the street, e.g. For 112A Main St, the street_number_suffix = A
+    </comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_number_predirectional</name>
-       <title>Street Direction Prefix</title>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Directional prefix, e.g. SE Main St, SE is the prefix.</comment>
-       <add>1.1</add>
+    <name>street_number_predirectional</name>
+    <title>Street Direction Prefix</title>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Directional prefix, e.g. SE Main St, SE is the prefix.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_name</name>
-       <type>varchar</type>
-       <title>Street Name</title>
-       <length>64</length>
-       <export>true</export>
-       <comment>Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.</comment>
-       <add>1.1</add>
+    <name>street_name</name>
+    <type>varchar</type>
+    <title>Street Name</title>
+    <length>64</length>
+    <export>true</export>
+    <comment>Actual street name, excluding St, Dr, Rd, Ave, e.g. For 112 Main St, the street_name = Main.</comment>
+    <add>1.1</add>
   </field>
   <index>
-       <name>index_street_name</name>
-       <fieldName>street_name</fieldName>
-       <add>1.1</add>
+    <name>index_street_name</name>
+    <fieldName>street_name</fieldName>
+    <add>1.1</add>
   </index>
   <field>
-       <name>street_type</name>
-       <title>Street Type</title>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>St, Rd, Dr, etc.</comment>
-       <add>1.1</add>
+    <name>street_type</name>
+    <title>Street Type</title>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>St, Rd, Dr, etc.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_number_postdirectional</name>
-       <title>Street Direction Suffix</title>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Directional prefix, e.g. Main St S, S is the suffix.</comment>
-       <add>1.1</add>
+    <name>street_number_postdirectional</name>
+    <title>Street Direction Suffix</title>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Directional prefix, e.g. Main St S, S is the suffix.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>street_unit</name>
-       <title>Street Unit</title>
-       <type>varchar</type>
-       <length>16</length>
-       <export>true</export>
-       <comment>Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200</comment>
-       <add>1.1</add>
+    <name>street_unit</name>
+    <title>Street Unit</title>
+    <type>varchar</type>
+    <length>16</length>
+    <export>true</export>
+    <comment>Secondary unit designator, e.g. Apt 3 or Unit # 14, or Bldg 1200</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>supplemental_address_1</name>
-       <title>Supplemental Address 1</title>
-       <type>varchar</type>
-       <length>96</length>
-       <import>true</import>
-       <headerPattern>/(supplemental(\s)?)?address(\s\d+)?/i</headerPattern>
-       <dataPattern>/unit|ap(ar)?t(ment)?\s(\d|\w)+/i</dataPattern>
-       <comment>Supplemental Address Information, Line 1</comment>
-       <add>1.1</add>
+    <name>supplemental_address_1</name>
+    <title>Supplemental Address 1</title>
+    <type>varchar</type>
+    <length>96</length>
+    <import>true</import>
+    <headerPattern>/(supplemental(\s)?)?address(\s\d+)?/i</headerPattern>
+    <dataPattern>/unit|ap(ar)?t(ment)?\s(\d|\w)+/i</dataPattern>
+    <comment>Supplemental Address Information, Line 1</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>supplemental_address_2</name>
-       <title>Supplemental Address 2</title>
-       <type>varchar</type>
-       <length>96</length>
-       <import>true</import>
-       <headerPattern>/(supplemental(\s)?)?address(\s\d+)?/i</headerPattern>
-       <dataPattern>/unit|ap(ar)?t(ment)?\s(\d|\w)+/i</dataPattern>
-       <comment>Supplemental Address Information, Line 2</comment>
-       <add>1.1</add>
+    <name>supplemental_address_2</name>
+    <title>Supplemental Address 2</title>
+    <type>varchar</type>
+    <length>96</length>
+    <import>true</import>
+    <headerPattern>/(supplemental(\s)?)?address(\s\d+)?/i</headerPattern>
+    <dataPattern>/unit|ap(ar)?t(ment)?\s(\d|\w)+/i</dataPattern>
+    <comment>Supplemental Address Information, Line 2</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>supplemental_address_3</name>
-       <title>Supplemental Address 3</title>
-       <type>varchar</type>
-       <length>96</length>
-       <comment>Supplemental Address Information, Line 3</comment>
-       <add>1.1</add>
+    <name>supplemental_address_3</name>
+    <title>Supplemental Address 3</title>
+    <type>varchar</type>
+    <length>96</length>
+    <comment>Supplemental Address Information, Line 3</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>city</name>
-       <title>City</title>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/city/i</headerPattern>
-       <dataPattern>/^[A-Za-z]+(\.?)(\s?[A-Za-z]+){0,2}$/</dataPattern>
-       <comment>City, Town or Village Name.</comment>
-       <add>1.1</add>
+    <name>city</name>
+    <title>City</title>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/city/i</headerPattern>
+    <dataPattern>/^[A-Za-z]+(\.?)(\s?[A-Za-z]+){0,2}$/</dataPattern>
+    <comment>City, Town or Village Name.</comment>
+    <add>1.1</add>
   </field>
   <index>
-       <name>index_city</name>
-       <fieldName>city</fieldName>
-       <add>1.1</add>
+    <name>index_city</name>
+    <fieldName>city</fieldName>
+    <add>1.1</add>
   </index>
   <field>
-      <name>county_id</name>
-      <type>int unsigned</type>
-      <title>County</title>
-      <comment>Which County does this address belong to.</comment>
-      <pseudoconstant>
-        <table>civicrm_county</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <add>1.1</add>
+    <name>county_id</name>
+    <type>int unsigned</type>
+    <title>County</title>
+    <comment>Which County does this address belong to.</comment>
+    <pseudoconstant>
+      <table>civicrm_county</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>county_id</name>
-       <table>civicrm_county</table>
-       <key>id</key>
-       <import>true</import>
-       <headerPattern>/county/i</headerPattern>
-       <dataPattern>/[A-Z]{2}/</dataPattern>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>county_id</name>
+    <table>civicrm_county</table>
+    <key>id</key>
+    <import>true</import>
+    <headerPattern>/county/i</headerPattern>
+    <dataPattern>/[A-Z]{2}/</dataPattern>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>state_province_id</name>
-      <title>State</title>
-      <type>int unsigned</type>
-      <comment>Which State_Province does this address belong to.</comment>
-      <pseudoconstant>
-        <table>civicrm_state_province</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <add>1.1</add>
+    <name>state_province_id</name>
+    <title>State</title>
+    <type>int unsigned</type>
+    <comment>Which State_Province does this address belong to.</comment>
+    <pseudoconstant>
+      <table>civicrm_state_province</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>state_province_id</name>
-       <table>civicrm_state_province</table>
-       <key>id</key>
-       <import>true</import>
-       <headerPattern>/state|prov(ince)?/i</headerPattern>
-       <dataPattern>/A[LKSZRAP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY]/i</dataPattern>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>state_province_id</name>
+    <table>civicrm_state_province</table>
+    <key>id</key>
+    <import>true</import>
+    <headerPattern>/state|prov(ince)?/i</headerPattern>
+    <dataPattern>
+      /A[LKSZRAP]|C[AOT]|D[EC]|F[LM]|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEHINOPST]|N[CDEHJMVY]|O[HKR]|P[ARW]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY]/i
+    </dataPattern>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
- <field>
-       <name>postal_code_suffix</name>
-       <title>Postal Code Suffix</title>
-       <type>varchar</type>
-       <length>12</length>
-       <import>true</import>
-       <headerPattern>/p(ostal)\sc(ode)\ss(uffix)/i</headerPattern>
-       <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>
-       <comment>Store the suffix, like the +4 part in the USPS system.</comment>
-       <add>1.1</add>
 <field>
+    <name>postal_code_suffix</name>
+    <title>Postal Code Suffix</title>
+    <type>varchar</type>
+    <length>12</length>
+    <import>true</import>
+    <headerPattern>/p(ostal)\sc(ode)\ss(uffix)/i</headerPattern>
+    <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>
+    <comment>Store the suffix, like the +4 part in the USPS system.</comment>
+    <add>1.1</add>
   </field>
- <field>
-       <name>postal_code</name>
-       <title>Postal Code</title>
-       <type>varchar</type>
-       <length>12</length>
-       <import>true</import>
-       <headerPattern>/postal|zip/i</headerPattern>
-       <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>
-       <comment>Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate validation.</comment>
-       <add>1.1</add>
+  <field>
+    <name>postal_code</name>
+    <title>Postal Code</title>
+    <type>varchar</type>
+    <length>12</length>
+    <import>true</import>
+    <headerPattern>/postal|zip/i</headerPattern>
+    <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>
+    <comment>Store both US (zip5) AND international postal codes. App is responsible for country/region appropriate
+      validation.
+    </comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>usps_adc</name>
-       <title>USPS Code</title>
-       <type>varchar</type>
-       <length>32</length>
-       <comment>USPS Bulk mailing code.</comment>
-       <add>1.1</add>
+    <name>usps_adc</name>
+    <title>USPS Code</title>
+    <type>varchar</type>
+    <length>32</length>
+    <comment>USPS Bulk mailing code.</comment>
+    <add>1.1</add>
   </field>
   <field>
-      <name>country_id</name>
-      <title>Country</title>
-      <type>int unsigned</type>
-      <comment>Which Country does this address belong to.</comment>
-      <pseudoconstant>
-        <table>civicrm_country</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>name</labelColumn>
-        <nameColumn>iso_code</nameColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <add>1.1</add>
+    <name>country_id</name>
+    <title>Country</title>
+    <type>int unsigned</type>
+    <comment>Which Country does this address belong to.</comment>
+    <pseudoconstant>
+      <table>civicrm_country</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+      <nameColumn>iso_code</nameColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>country_id</name>
-       <table>civicrm_country</table>
-       <key>id</key>
-       <import>true</import>
-       <headerPattern>/country/i</headerPattern>
-       <dataPattern>/\w+(\s\w+)?/</dataPattern>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>country_id</name>
+    <table>civicrm_country</table>
+    <key>id</key>
+    <import>true</import>
+    <headerPattern>/country/i</headerPattern>
+    <dataPattern>/\w+(\s\w+)?/</dataPattern>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-       <name>geo_code_1</name>
-       <title>Latitude</title>
-       <type>float</type>
-       <import>true</import>
-       <headerPattern>/geo/i</headerPattern>
-       <comment>Latitude</comment>
-       <add>1.1</add>
+    <name>geo_code_1</name>
+    <title>Latitude</title>
+    <type>float</type>
+    <import>true</import>
+    <headerPattern>/geo/i</headerPattern>
+    <comment>Latitude</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>geo_code_2</name>
-       <title>Longitude</title>
-       <type>float</type>
-       <comment>Longitude</comment>
-       <import>true</import>
-       <headerPattern>/geo/i</headerPattern>
-       <add>1.1</add>
+    <name>geo_code_2</name>
+    <title>Longitude</title>
+    <type>float</type>
+    <comment>Longitude</comment>
+    <import>true</import>
+    <headerPattern>/geo/i</headerPattern>
+    <add>1.1</add>
   </field>
   <field>
-       <name>manual_geo_code</name>
-       <title>Is manually geocoded</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this a manually entered geo code</comment>
-       <add>4.3</add>
+    <name>manual_geo_code</name>
+    <title>Is manually geocoded</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this a manually entered geo code</comment>
+    <add>4.3</add>
   </field>
   <field>
-       <name>timezone</name>
-       <title>Timezone</title>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".</comment>
-       <add>1.1</add>
+    <name>timezone</name>
+    <title>Timezone</title>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>name</name>
-       <uniqueName>address_name</uniqueName>
-       <title>Address Name</title>
-       <type>varchar</type>
-       <length>255</length>
-       <import>true</import>
-       <headerPattern>/^location|(l(ocation\s)?name)$/i</headerPattern>
-       <dataPattern>/^\w+$/</dataPattern>
-       <add>2.1</add>
+    <name>name</name>
+    <uniqueName>address_name</uniqueName>
+    <title>Address Name</title>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <headerPattern>/^location|(l(ocation\s)?name)$/i</headerPattern>
+    <dataPattern>/^\w+$/</dataPattern>
+    <add>2.1</add>
   </field>
   <field>
-      <name>master_id</name>
-      <title>Master Address Belongs To</title>
-      <type>int unsigned</type>
-      <import>true</import>
-      <comment>FK to Address ID</comment>
-      <add>3.3</add>
+    <name>master_id</name>
+    <title>Master Address Belongs To</title>
+    <type>int unsigned</type>
+    <import>true</import>
+    <comment>FK to Address ID</comment>
+    <add>3.3</add>
   </field>
   <foreignKey>
-       <name>master_id</name>
-       <table>civicrm_address</table>
-       <key>id</key>
-       <add>3.3</add>
-       <onDelete>SET NULL</onDelete>
+    <name>master_id</name>
+    <table>civicrm_address</table>
+    <key>id</key>
+    <add>3.3</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
 </table>
index 773665fcbce083dda02925ef0ff39fa4ab970ddb..6222cb262c8fb68f0107d1e5876fc0f813ffbd25 100644 (file)
@@ -6,21 +6,21 @@
   <name>civicrm_address_format</name>
   <add>3.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Address Format Id</comment>
-       <add>3.2</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Address Format Id</comment>
+    <add>3.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>format</name>
-       <title>Address Format</title>
-       <type>text</type>
-       <comment>The format of an address</comment>
-       <add>3.2</add>
+    <name>format</name>
+    <title>Address Format</title>
+    <type>text</type>
+    <comment>The format of an address</comment>
+    <add>3.2</add>
   </field>
 </table>
index 611070f5240eb10203ca5b2ab71661390f52ceb6..de80e3da7d8ed016149b04b84627b26b1cf72674 100644 (file)
@@ -7,29 +7,29 @@
   <comment>Table to cache items for civicrm components.</comment>
   <add>2.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>2.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>2.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>group_name</name>
-       <type>varchar</type>
-       <length>32</length>
-       <required>true</required>
-       <comment>group name for cache element, useful in cleaning cache elements</comment>
-       <add>2.1</add>
+    <name>group_name</name>
+    <type>varchar</type>
+    <length>32</length>
+    <required>true</required>
+    <comment>group name for cache element, useful in cleaning cache elements</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>path</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Unique path name for cache element</comment>
-       <add>2.1</add>
+    <name>path</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Unique path name for cache element</comment>
+    <add>2.1</add>
   </field>
   <index>
     <name>UI_group_path</name>
     </html>
   </field>
   <foreignKey>
-       <name>component_id</name>
-       <table>civicrm_component</table>
-       <key>id</key>
-       <add>2.1</add>
+    <name>component_id</name>
+    <table>civicrm_component</table>
+    <key>id</key>
+    <add>2.1</add>
   </foreignKey>
   <field>
     <name>created_date</name>
index c773dbe5af1bcff67135e60c528b7fc2913305f1..0a9f7e13f28a6cf5eefb45077776fae2f6cb7670 100644 (file)
@@ -6,32 +6,33 @@
   <name>civicrm_component</name>
   <add>2.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Component ID</comment>
-       <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Component ID</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Component name</title>
-       <type>varchar</type>
-       <required>true</required>
-       <length>64</length>
-       <comment>Name of the component.</comment>
-       <add>2.0</add>
+    <name>name</name>
+    <title>Component name</title>
+    <type>varchar</type>
+    <required>true</required>
+    <length>64</length>
+    <comment>Name of the component.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>namespace</name>
-       <title>Namespace reserved for component.</title>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>Path to components main directory in a form of a class
-namespace.</comment>
-       <add>2.0</add>
+    <name>namespace</name>
+    <title>Namespace reserved for component.</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Path to components main directory in a form of a class
+      namespace.
+    </comment>
+    <add>2.0</add>
   </field>
 </table>
index bfd82606011ce59cbf3ccdb3f3f556118f36bce1..373f230f6ea0ad0044653f91c1d7281cca3f73a7 100644 (file)
@@ -4,62 +4,62 @@
   <base>CRM/Core</base>
   <class>EntityFile</class>
   <name>civicrm_entity_file</name>
-  <comment>Attaches (joins)  uploaded files (images, documents, etc.) to entities (Contacts, Groups, Actions).</comment>
+  <comment>Attaches (joins) uploaded files (images, documents, etc.) to entities (Contacts, Groups, Actions).</comment>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>primary key</comment>
-       <add>1.5</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>primary key</comment>
+    <add>1.5</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>physical tablename for entity being joined to file, e.g. civicrm_contact</comment>
-       <add>1.5</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>physical tablename for entity being joined to file, e.g. civicrm_contact</comment>
+    <add>1.5</add>
   </field>
   <field>
-      <name>entity_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to entity table specified in entity_table column.</comment>
-      <add>1.5</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to entity table specified in entity_table column.</comment>
+    <add>1.5</add>
   </field>
   <dynamicForeignKey>
-      <idColumn>entity_id</idColumn>
-      <typeColumn>entity_table</typeColumn>
-      <add>1.5</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>1.5</add>
   </dynamicForeignKey>
   <index>
-       <name>index_entity</name>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <add>1.5</add>
+    <name>index_entity</name>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <add>1.5</add>
   </index>
   <field>
-      <name>file_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to civicrm_file</comment>
-       <add>1.5</add>
+    <name>file_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to civicrm_file</comment>
+    <add>1.5</add>
   </field>
   <foreignKey>
-       <name>file_id</name>
-       <table>civicrm_file</table>
-       <key>id</key>
-       <add>1.5</add>
+    <name>file_id</name>
+    <table>civicrm_file</table>
+    <key>id</key>
+    <add>1.5</add>
   </foreignKey>
   <index>
-       <name>index_entity_file_id</name>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <fieldName>file_id</fieldName>
-       <add>1.1</add>
+    <name>index_entity_file_id</name>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <fieldName>file_id</fieldName>
+    <add>1.1</add>
   </index>
 </table>
index c40a2ebf041eab5e702a2e85690c50c2d1cc244e..f0c2b04d21df09aca3fd6f7a98d100d04e23390d 100644 (file)
@@ -7,83 +7,83 @@
   <comment>Tag entities (Contacts, Groups, Actions) to categories.</comment>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Entity Tag ID</title>
-      <required>true</required>
-      <comment>primary key</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Entity Tag ID</title>
+    <required>true</required>
+    <comment>primary key</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to contact table.</comment>
-      <add>2.0</add>
-      <drop>3.2</drop>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to contact table.</comment>
+    <add>2.0</add>
+    <drop>3.2</drop>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.0</add>
-       <drop>3.2</drop>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.0</add>
+    <drop>3.2</drop>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <title>Entity Table</title>
-       <length>64</length>
-       <comment>physical tablename for entity being joined to file, e.g. civicrm_contact</comment>
-       <add>3.2</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <title>Entity Table</title>
+    <length>64</length>
+    <comment>physical tablename for entity being joined to file, e.g. civicrm_contact</comment>
+    <add>3.2</add>
   </field>
   <field>
-      <name>entity_id</name>
-      <type>int unsigned</type>
-      <title>Entity ID</title>
-      <required>true</required>
-      <comment>FK to entity table specified in entity_table column.</comment>
-      <add>3.2</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <title>Entity ID</title>
+    <required>true</required>
+    <comment>FK to entity table specified in entity_table column.</comment>
+    <add>3.2</add>
   </field>
   <dynamicForeignKey>
-      <idColumn>entity_id</idColumn>
-      <typeColumn>entity_table</typeColumn>
-      <add>3.2</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>3.2</add>
   </dynamicForeignKey>
   <index>
-       <name>index_entity</name>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <add>3.2</add>
-       <drop>3.4</drop>
+    <name>index_entity</name>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <add>3.2</add>
+    <drop>3.4</drop>
   </index>
   <field>
-      <name>tag_id</name>
-      <type>int unsigned</type>
-      <title>Tag ID</title>
-      <required>true</required>
-      <comment>FK to civicrm_tag</comment>
-      <add>1.1</add>
-      <pseudoconstant>
-        <table>civicrm_tag</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>tag_id</name>
+    <type>int unsigned</type>
+    <title>Tag ID</title>
+    <required>true</required>
+    <comment>FK to civicrm_tag</comment>
+    <add>1.1</add>
+    <pseudoconstant>
+      <table>civicrm_tag</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>tag_id</name>
-       <table>civicrm_tag</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>tag_id</name>
+    <table>civicrm_tag</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <index>
     <name>UI_entity_id_entity_table_tag_id</name>
index d8beb0ef5580c2fd8113510b2fa77dd028557df5..d7b8f7d8767ae8a53325d22137fac10091e01394 100644 (file)
@@ -4,57 +4,59 @@
   <base>CRM/Core</base>
   <class>File</class>
   <name>civicrm_file</name>
-  <comment>Data store for uploaded (attached) files (pointer to file on disk OR blob). Maybe be joined to entities via custom_value.file_id or entity_file table.</comment>
+  <comment>Data store for uploaded (attached) files (pointer to file on disk OR blob). Maybe be joined to entities via
+    custom_value.file_id or entity_file table.
+  </comment>
   <add>1.5</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique ID</comment>
-      <add>1.5</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique ID</comment>
+    <add>1.5</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>file_type_id</name>
-      <type>int unsigned</type>
-      <comment>Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.</comment>
-      <add>1.5</add>
+    <name>file_type_id</name>
+    <type>int unsigned</type>
+    <comment>Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.</comment>
+    <add>1.5</add>
   </field>
   <field>
-     <name>mime_type</name>
-     <type>varchar</type>
-     <length>255</length>
-     <comment>mime type of the document</comment>
-     <add>1.5</add>
+    <name>mime_type</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>mime type of the document</comment>
+    <add>1.5</add>
   </field>
   <field>
-     <name>uri</name>
-     <type>varchar</type>
-     <length>255</length>
-     <comment>uri of the file on disk</comment>
-     <add>1.5</add>
+    <name>uri</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>uri of the file on disk</comment>
+    <add>1.5</add>
   </field>
   <field>
-     <name>document</name>
-     <type>mediumblob</type>
-     <comment>contents of the document</comment>
-     <add>1.5</add>
+    <name>document</name>
+    <type>mediumblob</type>
+    <comment>contents of the document</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Additional descriptive text regarding this attachment (optional).</comment>
-      <add>1.5</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Additional descriptive text regarding this attachment (optional).</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>upload_date</name>
-       <type>datetime</type>
-       <comment>Date and time that this attachment was uploaded or written to server.</comment>
-       <add>1.5</add>
+    <name>upload_date</name>
+    <type>datetime</type>
+    <comment>Date and time that this attachment was uploaded or written to server.</comment>
+    <add>1.5</add>
   </field>
 </table>
index 036c9556fff3ac86ad49398564ed562d2aa2b3b3..376ff47364a829565266a8de39bbe9b829f3fcd8 100644 (file)
@@ -8,40 +8,40 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique IM ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique IM ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>2.0</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.0</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.0</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>location_type_id</name>
-      <title>IM Location Type</title>
-      <type>int unsigned</type>
-      <comment>Which Location does this email belong to.</comment>
-      <pseudoconstant>
-          <table>civicrm_location_type</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>display_name</labelColumn>
-      </pseudoconstant>
-       <add>2.0</add>
+    <name>location_type_id</name>
+    <title>IM Location Type</title>
+    <type>int unsigned</type>
+    <comment>Which Location does this email belong to.</comment>
+    <pseudoconstant>
+      <table>civicrm_location_type</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>display_name</labelColumn>
+    </pseudoconstant>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_location_type</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>name</name>
-       <title>IM Screen Name</title>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i</headerPattern>
-       <dataPattern>/^[A-Za-z][0-9A-Za-z]{20,}$/</dataPattern>
-       <comment>IM screen name</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <title>IM Screen Name</title>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/I(nstant )?M(ess.*)?|screen(\s+)?name/i</headerPattern>
+    <dataPattern>/^[A-Za-z][0-9A-Za-z]{20,}$/</dataPattern>
+    <comment>IM screen name</comment>
+    <add>1.1</add>
   </field>
   <field>
-      <name>provider_id</name>
-      <title>IM Provider</title>
-      <type>int unsigned</type>
-      <comment>Which IM Provider does this screen name belong to.</comment>
-      <add>1.1</add>
-      <pseudoconstant>
-        <optionGroupName>instant_messenger_service</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>provider_id</name>
+    <title>IM Provider</title>
+    <type>int unsigned</type>
+    <comment>Which IM Provider does this screen name belong to.</comment>
+    <add>1.1</add>
+    <pseudoconstant>
+      <optionGroupName>instant_messenger_service</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>UI_provider_id</name>
     <add>1.6</add>
   </index>
   <field>
-       <name>is_primary</name>
-       <title>Is IM Primary?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this the primary IM for this contact and location.</comment>
-       <add>1.1</add>
+    <name>is_primary</name>
+    <title>Is IM Primary?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this the primary IM for this contact and location.</comment>
+    <add>1.1</add>
   </field>
   <index>
     <name>index_is_primary</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>is_billing</name>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this the billing?</comment>
-       <add>2.0</add>
+    <name>is_billing</name>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this the billing?</comment>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_is_billing</name>
index a14a271d8d86c483e123acdd2cb75e93d706be69..5573648e25ff17b2b4c683c2a5fd02f92212f240 100644 (file)
   <add>4.1</add>
   <log>false</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Job Id</comment>
-       <add>4.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Job Id</comment>
+    <add>4.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this scheduled job for</comment>
-      <add>4.1</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this scheduled job for</comment>
+    <add>4.1</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>4.1</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>4.1</add>
   </foreignKey>
   <field>
-       <name>run_frequency</name>
-       <type>varchar</type>
-       <length>8</length>
-       <default>"Daily"</default>
-       <comment>Scheduled job run frequency.</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getJobFrequency</callback>
-       </pseudoconstant>
-       <add>4.1</add>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>run_frequency</name>
+    <type>varchar</type>
+    <length>8</length>
+    <default>"Daily"</default>
+    <comment>Scheduled job run frequency.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getJobFrequency</callback>
+    </pseudoconstant>
+    <add>4.1</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>last_run</name>
-       <type>datetime</type>
-       <default>NULL</default>
-       <comment>When was this cron entry last run</comment>
-       <add>4.1</add>
+    <name>last_run</name>
+    <type>datetime</type>
+    <default>NULL</default>
+    <comment>When was this cron entry last run</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Title of the job</comment>
-       <add>4.1</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Title of the job</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Description of the job</comment>
-       <add>4.1</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Description of the job</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>api_prefix</name>
-       <type>varchar</type>
-       <length>255</length>
-       <default>"civicrm_api3"</default>
-       <comment>Prefix of the job api call</comment>
-       <add>4.1</add>
-       <drop>4.3</drop>
+    <name>api_prefix</name>
+    <type>varchar</type>
+    <length>255</length>
+    <default>"civicrm_api3"</default>
+    <comment>Prefix of the job api call</comment>
+    <add>4.1</add>
+    <drop>4.3</drop>
   </field>
   <field>
-       <name>api_entity</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Entity of the job api call</comment>
-       <add>4.1</add>
+    <name>api_entity</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Entity of the job api call</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>api_action</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Action of the job api call</comment>
-       <add>4.1</add>
+    <name>api_action</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Action of the job api call</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>parameters</name>
-       <type>text</type>
-       <comment>List of parameters to the command.</comment>
-       <html>
-         <type>TextArea</type>
-         <rows>4</rows>
-         <cols>60</cols>
-       </html>
-       <add>4.1</add>
+    <name>parameters</name>
+    <type>text</type>
+    <comment>List of parameters to the command.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>60</cols>
+    </html>
+    <add>4.1</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this job active?</comment>
-       <add>4.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this job active?</comment>
+    <add>4.1</add>
   </field>
 </table>
index 4917b91c3fe64a0a945e1bf9fe07cbb72c4e26c7..b4383fa5d22eb305c46420181dd2d8a1859e3f32 100644 (file)
@@ -8,71 +8,71 @@
   <add>4.1</add>
   <log>false</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Job log entry Id</comment>
-       <add>4.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Job log entry Id</comment>
+    <add>4.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this scheduled job for</comment>
-      <add>4.1</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this scheduled job for</comment>
+    <add>4.1</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>4.1</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>4.1</add>
   </foreignKey>
   <field>
-       <name>run_time</name>
-       <type>timestamp</type>
-       <comment>Log entry date</comment>
-       <add>4.1</add>
+    <name>run_time</name>
+    <type>timestamp</type>
+    <comment>Log entry date</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>job_id</name>
-       <type>int unsigned</type>
-       <comment>Pointer to job id - not a FK though, just for logging purposes</comment>
-       <add>4.1</add>
+    <name>job_id</name>
+    <type>int unsigned</type>
+    <comment>Pointer to job id - not a FK though, just for logging purposes</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Title of the job</comment>
-       <add>4.1</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Title of the job</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>command</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Full path to file containing job script</comment>
-       <add>4.1</add>
+    <name>command</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Full path to file containing job script</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Title line of log entry</comment>
-       <add>4.1</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Title line of log entry</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>data</name>
-       <type>text</type>
-       <comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
-       <add>4.1</add>
+    <name>data</name>
+    <type>text</type>
+    <comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
+    <add>4.1</add>
   </field>
 </table>
index d22454612bffab4862bd07d409216a7ac61f5124..f6a48e4a7faa20103e2d938d9ab4e3742d12e1d2 100644 (file)
@@ -7,65 +7,65 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Location Type ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Location Type ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Location Type</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Location Type Name.</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <title>Location Type</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Location Type Name.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>display_name</name>
-       <title>Display Name</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Location Type Display Name.</comment>
-       <localizable>true</localizable>
-       <add>4.1</add>
+    <name>display_name</name>
+    <title>Display Name</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Location Type Display Name.</comment>
+    <localizable>true</localizable>
+    <add>4.1</add>
   </field>
   <field>
-       <name>vcard_name</name>
-       <title>vCard Location Type</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>vCard Location Type Name.</comment>
-       <add>1.1</add>
+    <name>vcard_name</name>
+    <title>vCard Location Type</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>vCard Location Type Name.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Location Type Description.</comment>
-       <add>1.1</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Location Type Description.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_reserved</name>
-       <type>boolean</type>
-       <comment>Is this location type a predefined system location?</comment>
-       <add>1.1</add>
+    <name>is_reserved</name>
+    <type>boolean</type>
+    <comment>Is this location type a predefined system location?</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this property active?</comment>
-       <add>1.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this property active?</comment>
+    <add>1.1</add>
   </field>
   <field>
-        <name>is_default</name>
-        <type>boolean</type>
-        <comment>Is this location type the default?</comment>
-       <add>1.1</add>
+    <name>is_default</name>
+    <type>boolean</type>
+    <comment>Is this location type the default?</comment>
+    <add>1.1</add>
   </field>
   <index>
     <name>UI_name</name>
index fccbe8ac37641d41e6a96defd1ef46ab3c1a05c9..ef6efc31f46461493b2b9bdfaae293ccb3b58569 100644 (file)
@@ -7,66 +7,66 @@
   <comment>Log can be linked to any object in the application.</comment>
   <add>1.5</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Log ID</comment>
-       <add>1.5</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Log ID</comment>
+    <add>1.5</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>Name of table where item being referenced is stored.</comment>
-       <add>1.5</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Name of table where item being referenced is stored.</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>entity_id</name>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>Foreign key to the referenced item.</comment>
-       <add>1.5</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Foreign key to the referenced item.</comment>
+    <add>1.5</add>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
-       <add>1.5</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>1.5</add>
   </dynamicForeignKey>
   <index>
-       <name>index_entity</name>
-       <add>1.5</add>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <add>1.5</add>
+    <name>index_entity</name>
+    <add>1.5</add>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <add>1.5</add>
   </index>
   <field>
-      <name>data</name>
-       <type>text</type>
-       <comment>Updates does to this object if any.</comment>
-       <add>1.5</add>
+    <name>data</name>
+    <type>text</type>
+    <comment>Updates does to this object if any.</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>modified_id</name>
-       <type>int unsigned</type>
-       <comment>FK to Contact ID of person under whose credentials this data modification was made.</comment>
-       <add>1.5</add>
+    <name>modified_id</name>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID of person under whose credentials this data modification was made.</comment>
+    <add>1.5</add>
   </field>
   <foreignKey>
-       <name>modified_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.5</add>
-       <onDelete>CASCADE</onDelete>
+    <name>modified_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.5</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>modified_date</name>
-       <type>datetime</type>
-       <comment>When was the referenced entity created or modified or deleted.</comment>
-       <add>1.5</add>
+    <name>modified_date</name>
+    <type>datetime</type>
+    <comment>When was the referenced entity created or modified or deleted.</comment>
+    <add>1.5</add>
   </field>
 </table>
index 9d25fca1132f644ffe2054f8f6662f80379781f1..692f6b4534adc131d0cd8685565278601c7347fa 100644 (file)
@@ -7,54 +7,56 @@
   <comment>Store field mappings in import or export for reuse</comment>
   <add>1.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Mapping ID</comment>
-      <add>1.2</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Mapping ID</comment>
+    <add>1.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
-      <add>1.2</add>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
+    <add>1.2</add>
   </primaryKey>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Name of Mapping</comment>
-      <add>1.2</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Name of Mapping</comment>
+    <add>1.2</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Description of Mapping.</comment>
-      <add>1.2</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Description of Mapping.</comment>
+    <add>1.2</add>
   </field>
   <field>
-       <name>mapping_type</name>
-       <type>enum</type>
-       <values>Export, Import, Export Contributions, Import Contributions, Import Activity, Search Builder, Import Memberships, Import Participants</values>
-       <comment>Type of Mapping.</comment>
-      <add>1.2</add>
-      <drop>2.1</drop>
+    <name>mapping_type</name>
+    <type>enum</type>
+    <values>Export, Import, Export Contributions, Import Contributions, Import Activity, Search Builder, Import
+      Memberships, Import Participants
+    </values>
+    <comment>Type of Mapping.</comment>
+    <add>1.2</add>
+    <drop>2.1</drop>
   </field>
   <field>
-      <name>mapping_type_id</name>
-      <type>int unsigned</type>
-      <comment>Mapping Type</comment>
-      <add>2.1</add>
-      <pseudoconstant>
-        <optionGroupName>mapping_type</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>mapping_type_id</name>
+    <type>int unsigned</type>
+    <comment>Mapping Type</comment>
+    <add>2.1</add>
+    <pseudoconstant>
+      <optionGroupName>mapping_type</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>UI_name</name>
     <fieldName>name</fieldName>
-      <add>1.2</add>
+    <add>1.2</add>
   </index>
 </table>
index 5c136763ee69faa0be686b179cb2689b25dde646..1f1eb51d5ba25cbd05750843e00cc1dbdff2e69d 100644 (file)
   <comment>Individual field mappings for Mapping</comment>
   <add>1.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Mapping Field ID</comment>
-      <add>1.2</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Mapping Field ID</comment>
+    <add>1.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
-      <add>1.2</add>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
+    <add>1.2</add>
   </primaryKey>
   <field>
-        <name>mapping_id</name>
-        <type>int unsigned</type>
-        <required>true</required>
-        <comment>Mapping to which this field belongs</comment>
-      <add>1.2</add>
+    <name>mapping_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Mapping to which this field belongs</comment>
+    <add>1.2</add>
   </field>
   <foreignKey>
-        <name>mapping_id</name>
-        <table>civicrm_mapping</table>
-        <key>id</key>
-      <add>1.2</add>
+    <name>mapping_id</name>
+    <table>civicrm_mapping</table>
+    <key>id</key>
+    <add>1.2</add>
   </foreignKey>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Mapping field key</comment>
-      <add>1.2</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Mapping field key</comment>
+    <add>1.2</add>
   </field>
   <field>
-       <name>contact_type</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Contact Type in mapping</comment>
-       <pseudoconstant>
-         <table>civicrm_contact_type</table>
-         <keyColumn>name</keyColumn>
-         <labelColumn>label</labelColumn>
-       </pseudoconstant>
-       <html>
-         <type>Select</type>
-       </html>
-      <add>1.2</add>
+    <name>contact_type</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Contact Type in mapping</comment>
+    <pseudoconstant>
+      <table>civicrm_contact_type</table>
+      <keyColumn>name</keyColumn>
+      <labelColumn>label</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.2</add>
   </field>
   <field>
-        <name>column_number</name>
-        <type>int unsigned</type>
-        <required>true</required>
-        <comment>Column number for mapping set</comment>
-      <add>1.2</add>
+    <name>column_number</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Column number for mapping set</comment>
+    <add>1.2</add>
   </field>
   <field>
-       <name>location_type_id</name>
-       <type>int unsigned</type>
-       <comment>Location type of this mapping, if required</comment>
-      <add>1.2</add>
+    <name>location_type_id</name>
+    <type>int unsigned</type>
+    <comment>Location type of this mapping, if required</comment>
+    <add>1.2</add>
   </field>
   <foreignKey>
-       <name>location_type_id</name>
-       <table>civicrm_location_type</table>
-       <key>id</key>
-      <add>1.2</add>
+    <name>location_type_id</name>
+    <table>civicrm_location_type</table>
+    <key>id</key>
+    <add>1.2</add>
   </foreignKey>
   <field>
-       <name>phone_type</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Phone type, if required</comment>
-      <add>1.2</add>
-      <drop>2.2</drop>
+    <name>phone_type</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Phone type, if required</comment>
+    <add>1.2</add>
+    <drop>2.2</drop>
   </field>
   <field>
-       <name>phone_type_id</name>
-       <type>int unsigned</type>
-       <comment>Which type of phone does this number belongs.</comment>
-       <add>2.2</add>
+    <name>phone_type_id</name>
+    <type>int unsigned</type>
+    <comment>Which type of phone does this number belongs.</comment>
+    <add>2.2</add>
   </field>
-   <field>
-      <name>im_provider_id</name>
-      <type>int unsigned</type>
-      <comment>Which type of IM Provider does this name belong.</comment>
-      <add>3.0</add>
-      <pseudoconstant>
-        <optionGroupName>instant_messenger_service</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+  <field>
+    <name>im_provider_id</name>
+    <type>int unsigned</type>
+    <comment>Which type of IM Provider does this name belong.</comment>
+    <add>3.0</add>
+    <pseudoconstant>
+      <optionGroupName>instant_messenger_service</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>website_type_id</name>
-       <type>int unsigned</type>
-       <comment>Which type of website does this site belong</comment>
-       <add>3.2</add>
-       <pseudoconstant>
-         <optionGroupName>website_type</optionGroupName>
-       </pseudoconstant>
-       <html>
-         <type>Select</type>
-       </html>
+    <name>website_type_id</name>
+    <type>int unsigned</type>
+    <comment>Which type of website does this site belong</comment>
+    <add>3.2</add>
+    <pseudoconstant>
+      <optionGroupName>website_type</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>relationship_type_id</name>
-       <type>int unsigned</type>
-       <comment>Relationship type, if required</comment>
-      <add>1.2</add>
+    <name>relationship_type_id</name>
+    <type>int unsigned</type>
+    <comment>Relationship type, if required</comment>
+    <add>1.2</add>
   </field>
   <foreignKey>
-       <name>relationship_type_id</name>
-       <table>civicrm_relationship_type</table>
-       <key>id</key>
-      <add>1.2</add>
+    <name>relationship_type_id</name>
+    <table>civicrm_relationship_type</table>
+    <key>id</key>
+    <add>1.2</add>
   </foreignKey>
   <field>
-      <name>relationship_direction</name>
-      <type>varchar</type>
-      <length>6</length>
-      <add>1.7</add>
+    <name>relationship_direction</name>
+    <type>varchar</type>
+    <length>6</length>
+    <add>1.7</add>
   </field>
   <field>
-        <name>grouping</name>
-        <type>int unsigned</type>
-        <default>1</default>
-        <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder mappings).</comment>
-      <add>1.5</add>
+    <name>grouping</name>
+    <type>int unsigned</type>
+    <default>1</default>
+    <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
+      mappings).
+    </comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>operator</name>
-       <type>varchar</type>
-       <length>16</length>
-       <type>enum</type>
-       <comment>SQL WHERE operator for search-builder mapping fields (search criteria).</comment>
-       <pseudoconstant>
-         <callback>CRM_Core_SelectValues::getSearchBuilderOperators</callback>
-       </pseudoconstant>
-      <add>1.5</add>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>operator</name>
+    <type>varchar</type>
+    <length>16</length>
+    <type>enum</type>
+    <comment>SQL WHERE operator for search-builder mapping fields (search criteria).</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::getSearchBuilderOperators</callback>
+    </pseudoconstant>
+    <add>1.5</add>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-       <name>value</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>SQL WHERE value for search-builder mapping fields.</comment>
-      <add>1.5</add>
+    <name>value</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>SQL WHERE value for search-builder mapping fields.</comment>
+    <add>1.5</add>
   </field>
 </table>
index 3f983d4ab87606631ec0d4b283dee03320e7afbf..a3adb4adc2fbdbe4f1c083098796e3479b1e124e 100644 (file)
@@ -7,39 +7,39 @@
   <comment>Table to store menu items for all civicrm components.</comment>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>2.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>2.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this menu item for</comment>
-      <add>3.0</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this menu item for</comment>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>3.0</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>3.0</add>
   </foreignKey>
   <field>
-       <name>path</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Path Name</comment>
-       <add>2.1</add>
+    <name>path</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Path Name</comment>
+    <add>2.1</add>
   </field>
   <index>
     <name>UI_path_domain_id</name>
     <add>2.1</add>
   </field>
   <field>
-       <name>title</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Menu Title</comment>
-       <add>2.1</add>
+    <name>title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Menu Title</comment>
+    <add>2.1</add>
   </field>
   <field>
     <name>access_callback</name>
     </html>
   </field>
   <foreignKey>
-       <name>component_id</name>
-       <table>civicrm_component</table>
-       <key>id</key>
-       <add>2.1</add>
+    <name>component_id</name>
+    <table>civicrm_component</table>
+    <key>id</key>
+    <add>2.1</add>
   </foreignKey>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this menu item active?</comment>
-       <add>2.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this menu item active?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_public</name>
-       <type>boolean</type>
-       <comment>Is this menu accessible to the public?</comment>
-       <add>2.1</add>
+    <name>is_public</name>
+    <type>boolean</type>
+    <comment>Is this menu accessible to the public?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_exposed</name>
-       <type>boolean</type>
-       <comment>Is this menu exposed to the navigation system?</comment>
-       <add>2.1</add>
+    <name>is_exposed</name>
+    <type>boolean</type>
+    <comment>Is this menu exposed to the navigation system?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_ssl</name>
-       <type>boolean</type>
-       <comment>Should this menu be exposed via SSL if enabled?</comment>
-       <add>2.1</add>
+    <name>is_ssl</name>
+    <type>boolean</type>
+    <comment>Should this menu be exposed via SSL if enabled?</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>weight</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Ordering of the menu items in various blocks.</comment>
-      <add>2.1</add>
+    <name>weight</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Ordering of the menu items in various blocks.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>type</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Drupal menu type.</comment>
-      <add>2.1</add>
+    <name>type</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Drupal menu type.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>page_type</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>CiviCRM menu type.</comment>
-      <add>2.1</add>
+    <name>page_type</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>CiviCRM menu type.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>skipBreadcrumb</name>
-      <type>boolean</type>
-      <comment>skip this url being exposed to breadcrumb</comment>
-      <add>2.2</add>
+    <name>skipBreadcrumb</name>
+    <type>boolean</type>
+    <comment>skip this url being exposed to breadcrumb</comment>
+    <add>2.2</add>
   </field>
 </table>
index d83bcbc3d7913fa07f331465507c43517778aaf4..5f8cc7ca5e7e8f3315bc80248e5c11b44f5792ef 100644 (file)
@@ -7,87 +7,87 @@
   <comment>Users will need a way to save and retrieve templates with tokens for use in recurring email communication tasks</comment>
   <add>1.6</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Message Template ID</comment>
-      <add>1.6</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Message Template ID</comment>
+    <add>1.6</add>
   </field>
   <primaryKey>
-      <name>id</name>
-      <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>msg_title</name>
-      <type>varchar</type>
-      <length>255</length>
-      <comment>Descriptive title of message</comment>
-      <add>1.6</add>
+    <name>msg_title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Descriptive title of message</comment>
+    <add>1.6</add>
   </field>
   <field>
-      <name>msg_subject</name>
-      <type>text</type>
-      <comment>Subject for email message.</comment>
-      <add>1.6</add>
-      <!-- type changed from VARCHAR(255) to TEXT in 3.1 -->
+    <name>msg_subject</name>
+    <type>text</type>
+    <comment>Subject for email message.</comment>
+    <add>1.6</add>
+    <!-- type changed from VARCHAR(255) to TEXT in 3.1 -->
   </field>
   <field>
-      <name>msg_text</name>
-      <type>longtext</type>
-      <html>
-          <type>TextArea</type>
-          <rows>10</rows>
-          <cols>75</cols>
-      </html>
-      <comment>Text formatted message</comment>
-      <add>1.6</add>
-      <!-- type changed from TEXT to LONGTEXT in 4.3 -->
+    <name>msg_text</name>
+    <type>longtext</type>
+    <html>
+      <type>TextArea</type>
+      <rows>10</rows>
+      <cols>75</cols>
+    </html>
+    <comment>Text formatted message</comment>
+    <add>1.6</add>
+    <!-- type changed from TEXT to LONGTEXT in 4.3 -->
   </field>
   <field>
-      <name>msg_html</name>
-      <type>longtext</type>
-      <html>
-          <type>RichTextEditor</type>
-          <rows>10</rows>
-          <cols>75</cols>
-      </html>
-      <comment>HTML formatted message</comment>
-      <add>1.6</add>
-      <!-- type changed from TEXT to LONGTEXT in 4.3 -->
+    <name>msg_html</name>
+    <type>longtext</type>
+    <html>
+      <type>RichTextEditor</type>
+      <rows>10</rows>
+      <cols>75</cols>
+    </html>
+    <comment>HTML formatted message</comment>
+    <add>1.6</add>
+    <!-- type changed from TEXT to LONGTEXT in 4.3 -->
   </field>
   <field>
-      <name>is_active</name>
-      <title>Is Active</title>
-      <type>boolean</type>
-      <default>1</default>
-      <add>1.6</add>
+    <name>is_active</name>
+    <title>Is Active</title>
+    <type>boolean</type>
+    <default>1</default>
+    <add>1.6</add>
   </field>
   <field>
-      <name>workflow_id</name>
-      <type>int unsigned</type>
-      <comment>a pseudo-FK to civicrm_option_value</comment>
-      <add>3.1</add>
+    <name>workflow_id</name>
+    <type>int unsigned</type>
+    <comment>a pseudo-FK to civicrm_option_value</comment>
+    <add>3.1</add>
   </field>
   <field>
-      <name>is_default</name>
-      <type>boolean</type>
-      <default>1</default>
-      <comment>is this the default message template for the workflow referenced by workflow_id?</comment>
-      <add>3.1</add>
+    <name>is_default</name>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>is this the default message template for the workflow referenced by workflow_id?</comment>
+    <add>3.1</add>
   </field>
   <field>
-      <name>is_reserved</name>
-      <type>boolean</type>
-      <comment>is this the reserved message template which we ship for the workflow referenced by workflow_id?</comment>
-      <add>3.1</add>
+    <name>is_reserved</name>
+    <type>boolean</type>
+    <comment>is this the reserved message template which we ship for the workflow referenced by workflow_id?</comment>
+    <add>3.1</add>
   </field>
   <field>
-      <name>pdf_format_id</name>
-      <type>int unsigned</type>
-      <comment>a pseudo-FK to civicrm_option_value containing PDF Page Format.</comment>
-      <pseudoconstant>
-        <optionGroupName>pdf_format</optionGroupName>
-      </pseudoconstant>
-      <add>3.4</add>
+    <name>pdf_format_id</name>
+    <type>int unsigned</type>
+    <comment>a pseudo-FK to civicrm_option_value containing PDF Page Format.</comment>
+    <pseudoconstant>
+      <optionGroupName>pdf_format</optionGroupName>
+    </pseudoconstant>
+    <add>3.4</add>
   </field>
 </table>
index 8efe8f555c332209f1b193922dd8da9115d1e2a3..74a5573daa45fa099ac8613b06ab918832d298de 100644 (file)
@@ -7,46 +7,46 @@
   <comment>Table to store navigation.</comment>
   <add>3.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this navigation item for</comment>
-      <add>3.0</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this navigation item for</comment>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>3.0</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>3.0</add>
   </foreignKey>
   <field>
-       <name>label</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Navigation Title</comment>
-       <add>3.0</add>
+    <name>label</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Navigation Title</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Internal Name</comment>
-       <add>3.0</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Internal Name</comment>
+    <add>3.0</add>
   </field>
   <field>
     <name>url</name>
     <add>3.0</add>
   </field>
   <field>
-       <name>permission</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Permission for menu item</comment>
-       <add>3.0</add>
+    <name>permission</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Permission for menu item</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>permission_operator</name>
-       <type>varchar</type>
-       <length>3</length>
-       <comment>Permission Operator</comment>
-       <add>3.0</add>
+    <name>permission_operator</name>
+    <type>varchar</type>
+    <length>3</length>
+    <comment>Permission Operator</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>parent_id</name>
-       <type>int unsigned</type>
-       <comment>Parent navigation item, used for grouping</comment>
-       <add>3.0</add>
+    <name>parent_id</name>
+    <type>int unsigned</type>
+    <comment>Parent navigation item, used for grouping</comment>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>parent_id</name>
-       <table>civicrm_navigation</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>3.0</add>
+    <name>parent_id</name>
+    <table>civicrm_navigation</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>3.0</add>
   </foreignKey>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this navigation item active?</comment>
-       <add>3.0</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this navigation item active?</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>has_separator</name>
-       <type>boolean</type>
-       <comment>If separator needs to be added after this menu item</comment>
-       <add>3.0</add>
+    <name>has_separator</name>
+    <type>boolean</type>
+    <comment>If separator needs to be added after this menu item</comment>
+    <add>3.0</add>
   </field>
   <field>
     <name>weight</name>
index 607ea3ca1883d48ae3993b527a1673018882fcf8..027167344c22194ce1cfcb73204f5a5e6c65436f 100644 (file)
@@ -6,35 +6,35 @@
   <comment>OpenID information for a specific location.</comment>
   <add>2.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique OpenID ID</comment>
-       <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique OpenID ID</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>2.0</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>2.0</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>2.0</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>location_type_id</name>
-      <title>OpenID Location Type</title>
-      <type>int unsigned</type>
-      <comment>Which Location does this email belong to.</comment>
-       <add>2.0</add>
+    <name>location_type_id</name>
+    <title>OpenID Location Type</title>
+    <type>int unsigned</type>
+    <comment>Which Location does this email belong to.</comment>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_location_type</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>openid</name>
-       <title>OpenID</title>
-       <type>varchar</type>
-       <length>255</length>
-       <import>true</import>
-       <headerPattern>/^Open.?ID|u(niq\w*)?.?ID/i</headerPattern>
-        <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
-        <comment>the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM</comment>
-       <rule>url</rule>
-       <comment>OpenID</comment>
-       <add>2.0</add>
+    <name>openid</name>
+    <title>OpenID</title>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <headerPattern>/^Open.?ID|u(niq\w*)?.?ID/i</headerPattern>
+    <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
+    <comment>the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM</comment>
+    <rule>url</rule>
+    <comment>OpenID</comment>
+    <add>2.0</add>
   </field>
   <index>
-     <name>UI_openid</name>
-     <fieldName>openid</fieldName>
-     <unique>true</unique>
-     <add>2.0</add>
+    <name>UI_openid</name>
+    <fieldName>openid</fieldName>
+    <unique>true</unique>
+    <add>2.0</add>
   </index>
   <field>
-      <name>allowed_to_login</name>
-      <type>boolean</type>
-      <required>true</required>
-      <default>0</default>
-      <comment>Whether or not this user is allowed to login</comment>
-      <add>2.0</add>
+    <name>allowed_to_login</name>
+    <type>boolean</type>
+    <required>true</required>
+    <default>0</default>
+    <comment>Whether or not this user is allowed to login</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>is_primary</name>
-       <title>Is OpenID Primary?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Is this the primary email for this contact and location.</comment>
-       <add>2.0</add>
+    <name>is_primary</name>
+    <title>Is OpenID Primary?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Is this the primary email for this contact and location.</comment>
+    <add>2.0</add>
   </field>
 </table>
index 710215140e7330e38f176cec9475fecbb18eae09..801bdbfbe538f8ba2715b884c5807db0435abc0d 100644 (file)
@@ -6,44 +6,44 @@
   <comment>DB Template Customization strings</comment>
   <add>3.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Persistent Record Id</comment>
-       <add>3.2</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Persistent Record Id</comment>
+    <add>3.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>false</autoincrement>
+    <name>id</name>
+    <autoincrement>false</autoincrement>
   </primaryKey>
   <field>
-      <name>context</name>
-      <type>varchar</type>
-      <length>255</length>
-      <comment>Context for which name data pair is to be stored</comment>
-      <required>true</required>
-      <add>3.2</add>
+    <name>context</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Context for which name data pair is to be stored</comment>
+    <required>true</required>
+    <add>3.2</add>
   </field>
   <field>
-      <name>name</name>
-      <type>varchar</type>
-      <length>255</length>
-      <comment>Name of Context</comment>
-      <required>true</required>
-      <add>3.2</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Name of Context</comment>
+    <required>true</required>
+    <add>3.2</add>
   </field>
   <field>
-      <name>data</name>
-      <type>longtext</type>
-      <comment>data associated with name</comment>
-      <add>3.2</add>
+    <name>data</name>
+    <type>longtext</type>
+    <comment>data associated with name</comment>
+    <add>3.2</add>
   </field>
   <field>
-      <name>is_config</name>
-      <type>boolean</type>
-      <default>0</default>
-      <comment>Config Settings</comment>
-      <required>true</required>
-      <add>3.2</add>
+    <name>is_config</name>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Config Settings</comment>
+    <required>true</required>
+    <add>3.2</add>
   </field>
 </table>
index 22e3b055f9a1dbc22caddff8b2b9d03903840195..985b71ab3c1eecd458b9f5bd7fbed2bcd31a510a 100644 (file)
@@ -9,61 +9,61 @@
   <drop>4.1</drop>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-       <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>1.8</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Which Domain is this menu item for</comment>
-      <add>3.0</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Which Domain is this menu item for</comment>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>3.0</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>3.0</add>
   </foreignKey>
   <field>
-      <name>contact_id</name>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>1.8</add>
+    <name>contact_id</name>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>1.8</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>1.8</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>1.8</add>
   </foreignKey>
   <field>
-       <name>is_domain</name>
-       <type>boolean</type>
-       <comment>Is this the record for the domain setting?</comment>
-       <add>1.8</add>
+    <name>is_domain</name>
+    <type>boolean</type>
+    <comment>Is this the record for the domain setting?</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>location_count</name>
-       <type>int unsigned</type>
-       <comment>Number of locations to be displayed on edit page?</comment>
-       <add>1.8</add>
-       <drop>3.0</drop>
+    <name>location_count</name>
+    <type>int unsigned</type>
+    <comment>Number of locations to be displayed on edit page?</comment>
+    <add>1.8</add>
+    <drop>3.0</drop>
   </field>
   <field>
-       <name>contact_view_options</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>What tabs are displayed in the contact summary</comment>
-       <add>1.8</add>
+    <name>contact_view_options</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>What tabs are displayed in the contact summary</comment>
+    <add>1.8</add>
   </field>
   <index>
     <name>index_contact_view_options</name>
     <add>1.8</add>
   </index>
   <field>
-       <name>contact_edit_options</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>What tabs are displayed in the contact edit</comment>
-       <add>1.8</add>
+    <name>contact_edit_options</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>What tabs are displayed in the contact edit</comment>
+    <add>1.8</add>
   </field>
   <index>
     <name>index_contact_edit_options</name>
     <add>1.8</add>
   </index>
   <field>
-       <name>advanced_search_options</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>What tabs are displayed in the advanced search screen</comment>
-       <add>1.8</add>
+    <name>advanced_search_options</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>What tabs are displayed in the advanced search screen</comment>
+    <add>1.8</add>
   </field>
   <index>
     <name>index_advanced_search_options</name>
     <add>1.8</add>
   </index>
   <field>
-       <name>user_dashboard_options</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>What tabs are displayed in the contact edit</comment>
-       <add>1.8</add>
+    <name>user_dashboard_options</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>What tabs are displayed in the contact edit</comment>
+    <add>1.8</add>
   </field>
   <index>
     <name>index_user_dashboard_options</name>
     <add>1.8</add>
   </index>
   <field>
-       <name>address_options</name>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>What fields are displayed from the address table</comment>
-       <add>1.8</add>
+    <name>address_options</name>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>What fields are displayed from the address table</comment>
+    <add>1.8</add>
   </field>
- <index>
 <index>
     <name>index_address_options</name>
     <fieldName>address_options</fieldName>
     <add>1.8</add>
   </index>
   <field>
-       <name>address_format</name>
-       <type>text</type>
-       <comment>Format to display the address</comment>
-       <add>1.8</add>
+    <name>address_format</name>
+    <type>text</type>
+    <comment>Format to display the address</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>mailing_format</name>
-       <type>text</type>
-       <comment>Format to display a mailing label</comment>
-       <add>1.8</add>
+    <name>mailing_format</name>
+    <type>text</type>
+    <comment>Format to display a mailing label</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>display_name_format</name>
-       <type>text</type>
-       <comment>Format to display contact display name</comment>
-       <add>3.2</add>
+    <name>display_name_format</name>
+    <type>text</type>
+    <comment>Format to display contact display name</comment>
+    <add>3.2</add>
   </field>
   <field>
-       <name>sort_name_format</name>
-       <type>text</type>
-       <comment>Format to display contact sort name</comment>
-       <add>3.2</add>
+    <name>sort_name_format</name>
+    <type>text</type>
+    <comment>Format to display contact sort name</comment>
+    <add>3.2</add>
   </field>
   <field>
-       <name>individual_name_format</name>
-       <type>text</type>
-       <comment>Format to display a individual name</comment>
-       <add>1.8</add>
-       <drop>3.0</drop>
+    <name>individual_name_format</name>
+    <type>text</type>
+    <comment>Format to display a individual name</comment>
+    <add>1.8</add>
+    <drop>3.0</drop>
   </field>
   <field>
-       <name>address_standardization_provider</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>object name of provider for address standarization</comment>
-       <add>1.8</add>
+    <name>address_standardization_provider</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>object name of provider for address standarization</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>address_standardization_userid</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>user id for provider login</comment>
-       <add>1.8</add>
+    <name>address_standardization_userid</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>user id for provider login</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>address_standardization_url</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>url of address standardization service</comment>
-       <add>1.8</add>
+    <name>address_standardization_url</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>url of address standardization service</comment>
+    <add>1.8</add>
   </field>
- <field>
-       <name>editor_id</name>
-       <type>int unsigned</type>
-       <length>4</length>
-       <comment>ID of the editor</comment>
-       <add>2.1</add>
 <field>
+    <name>editor_id</name>
+    <type>int unsigned</type>
+    <length>4</length>
+    <comment>ID of the editor</comment>
+    <add>2.1</add>
   </field>
- <field>
-       <name>mailing_backend</name>
-       <type>text</type>
-       <comment>Smtp Backend configuration.</comment>
-       <html>
-         <type>TextArea</type>
-         <rows>20</rows>
-         <cols>80</cols>
-       </html>
-       <add>2.2</add>
 <field>
+    <name>mailing_backend</name>
+    <type>text</type>
+    <comment>Smtp Backend configuration.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>20</rows>
+      <cols>80</cols>
+    </html>
+    <add>2.2</add>
   </field>
   <field>
-       <name>navigation</name>
-       <type>text</type>
-       <comment>Store navigation for the Contact</comment>
-       <add>3.0</add>
+    <name>navigation</name>
+    <type>text</type>
+    <comment>Store navigation for the Contact</comment>
+    <add>3.0</add>
   </field>
   <field>
-       <name>contact_autocomplete_options</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>What Autocomplete has to return</comment>
-       <add>3.1</add>
+    <name>contact_autocomplete_options</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>What Autocomplete has to return</comment>
+    <add>3.1</add>
   </field>
 </table>
index 383509a271bc3ca3e5981693fd9f1297eb8d5762..8aa1ed7ed860fa00f49a27854b2d137e3ccaa7e8 100644 (file)
@@ -8,22 +8,22 @@
   <add>2.0</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-       <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>The meta name for this date (fixed in code)</comment>
-       <add>2.0</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>The meta name for this date (fixed in code)</comment>
+    <add>2.0</add>
   </field>
   <index>
     <name>index_name</name>
     <add>2.0</add>
   </index>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Description of this date type.</comment>
-       <add>2.0</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Description of this date type.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>start</name>
-       <type>int</type>
-       <required>true</required>
-       <comment>The start offset relative to current year</comment>
-       <add>2.0</add>
+    <name>start</name>
+    <type>int</type>
+    <required>true</required>
+    <comment>The start offset relative to current year</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>end</name>
-       <type>int</type>
-       <required>true</required>
-       <comment>The end offset relative to current year, can be negative</comment>
-       <add>2.0</add>
+    <name>end</name>
+    <type>int</type>
+    <required>true</required>
+    <comment>The end offset relative to current year, can be negative</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>minute_increment</name>
-       <type>int</type>
-       <comment>The minute increment number</comment>
-       <add>2.0</add>
-       <drop>3.1</drop>
+    <name>minute_increment</name>
+    <type>int</type>
+    <comment>The minute increment number</comment>
+    <add>2.0</add>
+    <drop>3.1</drop>
   </field>
   <field>
-       <name>date_format</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>The date type</comment>
-       <add>2.0</add>
+    <name>date_format</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>The date type</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>time_format</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>time format</comment>
-       <add>3.1</add>
+    <name>time_format</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>time format</comment>
+    <add>3.1</add>
   </field>
 </table>
index 45b0455ca9589dbe4799d5eb9b6d6eb2728721c9..5db686e6532e372e94a0074803bec8a0c9d36698 100644 (file)
@@ -7,35 +7,35 @@
   <comment>Table to cache items for navigation on civicrm searched results.</comment>
   <add>3.4</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>3.4</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>3.4</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>physical tablename for entity being joined to discount, e.g. civicrm_event</comment>
-       <add>3.4</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>physical tablename for entity being joined to discount, e.g. civicrm_event</comment>
+    <add>3.4</add>
   </field>
   <field>
-      <name>entity_id1</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to entity table specified in entity_table column.</comment>
-       <add>3.4</add>
+    <name>entity_id1</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to entity table specified in entity_table column.</comment>
+    <add>3.4</add>
   </field>
   <field>
-      <name>entity_id2</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to entity table specified in entity_table column.</comment>
-       <add>3.4</add>
+    <name>entity_id2</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to entity table specified in entity_table column.</comment>
+    <add>3.4</add>
   </field>
   <field>
     <name>cacheKey</name>
     <add>4.2</add>
   </field>
   <index>
-     <name>index_all</name>
-     <fieldName>cacheKey</fieldName>
-     <fieldName>entity_id1</fieldName>
-     <fieldName>entity_id2</fieldName>
-     <fieldName>entity_table</fieldName>
-     <fieldName>is_selected</fieldName>
+    <name>index_all</name>
+    <fieldName>cacheKey</fieldName>
+    <fieldName>entity_id1</fieldName>
+    <fieldName>entity_id2</fieldName>
+    <fieldName>entity_table</fieldName>
+    <fieldName>is_selected</fieldName>
   </index>
 </table>
index 08f2978b9c82857cca89c4f4415c45d77253354b..e50318fa556bab248583affb555a2a07908c0b36 100644 (file)
@@ -7,32 +7,32 @@
   <comment>Table to store civicrm settings for civicrm core and components.</comment>
   <add>4.1</add>
   <field>
-      <name>id</name>
+    <name>id</name>
     <title>Setting ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>4.1</add>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>4.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>group_name</name>
+    <name>group_name</name>
     <title>Setting Group</title>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>group name for setting element, useful in caching setting elements</comment>
-       <add>4.1</add>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>group name for setting element, useful in caching setting elements</comment>
+    <add>4.1</add>
   </field>
   <field>
-       <name>name</name>
+    <name>name</name>
     <title>Setting Name</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Unique name for setting</comment>
-       <add>4.1</add>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Unique name for setting</comment>
+    <add>4.1</add>
   </field>
   <index>
     <name>index_group_name</name>
     <add>4.1</add>
   </field>
   <field>
-      <name>domain_id</name>
+    <name>domain_id</name>
     <title>Setting Domain</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this menu item for</comment>
-      <add>4.1</add>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this menu item for</comment>
+    <add>4.1</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>4.1</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>4.1</add>
   </foreignKey>
   <field>
-      <name>contact_id</name>
+    <name>contact_id</name>
     <title>Setting Contact</title>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID if the setting is localized to a contact</comment>
-      <add>4.1</add>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID if the setting is localized to a contact</comment>
+    <add>4.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
-       <add>4.1</add>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
+    <add>4.1</add>
   </foreignKey>
   <field>
-       <name>is_domain</name>
+    <name>is_domain</name>
     <title>Is Domain Setting?</title>
-       <type>boolean</type>
-       <comment>Is this setting a contact specific or site wide setting?</comment>
-       <add>4.1</add>
+    <type>boolean</type>
+    <comment>Is this setting a contact specific or site wide setting?</comment>
+    <add>4.1</add>
   </field>
   <field>
     <name>component_id</name>
     </html>
   </field>
   <foreignKey>
-       <name>component_id</name>
-       <table>civicrm_component</table>
-       <key>id</key>
-       <add>4.1</add>
+    <name>component_id</name>
+    <table>civicrm_component</table>
+    <key>id</key>
+    <add>4.1</add>
   </foreignKey>
   <field>
     <name>created_date</name>
index 83b1857500306c5da3109b9d1446f4faf3804f7c..daa60c48719a768692e94de3dd5840c475e4abd0 100644 (file)
@@ -6,47 +6,47 @@
   <name>civicrm_state_province</name>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-       <comment>State / Province ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>State / Province ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>false</autoincrement>
+    <name>id</name>
+    <autoincrement>false</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>State</title>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <headerPattern>/state|prov(ince)?/i</headerPattern>
-       <dataPattern>/[A-Z]{2}/</dataPattern>
-       <comment>Name of State / Province</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <title>State</title>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <headerPattern>/state|prov(ince)?/i</headerPattern>
+    <dataPattern>/[A-Z]{2}/</dataPattern>
+    <comment>Name of State / Province</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>abbreviation</name>
-       <title>State Abbreviation</title>
-       <type>varchar</type>
-       <length>4</length>
-       <comment>2-4 Character Abbreviation of State / Province</comment>
-       <add>1.1</add>
+    <name>abbreviation</name>
+    <title>State Abbreviation</title>
+    <type>varchar</type>
+    <length>4</length>
+    <comment>2-4 Character Abbreviation of State / Province</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>country_id</name>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>ID of Country that State / Province belong</comment>
-       <add>1.1</add>
+    <name>country_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>ID of Country that State / Province belong</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>country_id</name>
-       <table>civicrm_country</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>country_id</name>
+    <table>civicrm_country</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <index>
     <name>UI_name_country_id</name>
index 000b0580464668efd7d98f60e2e82c6750676317..13fd3869df34f2ba382fd3b4106ec737c7ca32a5 100644 (file)
@@ -8,55 +8,55 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <title>Tag ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Tag ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <title>Tag ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Tag ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Tag Name</title>
-       <type>varchar</type>
-       <required>true</required>
-       <length>64</length>
-       <comment>Name of Tag.</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <title>Tag Name</title>
+    <type>varchar</type>
+    <required>true</required>
+    <length>64</length>
+    <comment>Name of Tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>description</name>
-       <title>Description</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Optional verbose description of the tag.</comment>
-       <add>1.1</add>
+    <name>description</name>
+    <title>Description</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Optional verbose description of the tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>parent_id</name>
-       <title>Parent Tag</title>
-       <type>int unsigned</type>
-       <default>NULL</default>
-       <comment>Optional parent id for this tag.</comment>
-       <add>1.1</add>
+    <name>parent_id</name>
+    <title>Parent Tag</title>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <comment>Optional parent id for this tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_selectable</name>
-      <title>Display Tag?</title>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this tag selectable / displayed</comment>
-       <add>2.1</add>
+    <name>is_selectable</name>
+    <title>Display Tag?</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this tag selectable / displayed</comment>
+    <add>2.1</add>
   </field>
   <foreignKey>
-       <name>parent_id</name>
-       <table>civicrm_tag</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>parent_id</name>
+    <table>civicrm_tag</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <index>
     <name>UI_name</name>
index a42c81566ee1f5246f48931829e5b5656fa9da28..edccd0778c9526c44a565fd18a1755ff6181e810 100644 (file)
@@ -6,55 +6,55 @@
   <name>civicrm_timezone</name>
   <add>1.8</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Timezone Id</comment>
-       <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Timezone Id</comment>
+    <add>1.8</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Timezone full name</comment>
-       <add>1.8</add>
+    <name>name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Timezone full name</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>abbreviation</name>
-       <type>char</type>
-       <length>3</length>
-       <comment>ISO Code for timezone abbreviation</comment>
-       <add>1.8</add>
+    <name>abbreviation</name>
+    <type>char</type>
+    <length>3</length>
+    <comment>ISO Code for timezone abbreviation</comment>
+    <add>1.8</add>
   </field>
   <field>
-      <name>gmt</name>
-      <type>varchar</type>
-       <length>64</length>
-      <comment>GMT name of the timezone</comment>
-       <add>1.8</add>
+    <name>gmt</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>GMT name of the timezone</comment>
+    <add>1.8</add>
   </field>
   <field>
-      <name>offset</name>
-      <type>int</type>
-      <comment></comment>
-       <add>1.8</add>
+    <name>offset</name>
+    <type>int</type>
+    <comment></comment>
+    <add>1.8</add>
   </field>
   <field>
-      <name>country_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Country Id</comment>
-       <add>1.8</add>
+    <name>country_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Country Id</comment>
+    <add>1.8</add>
   </field>
   <foreignKey>
-      <name>country_id</name>
-      <table>civicrm_country</table>
-      <key>id</key>
-      <add>1.8</add>
+    <name>country_id</name>
+    <table>civicrm_country</table>
+    <key>id</key>
+    <add>1.8</add>
   </foreignKey>
 </table>
 
index 40d2e21a96f072dbd450d54054fc12f3f88b78f2..b1058e3d9a331317b9bf21de2bbc486d4df87998 100644 (file)
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <title>Profile ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique table ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <title>Profile ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique table ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>is_active</name>
-       <title>Profile Is Active</title>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>group_type</name>
-       <title>Profile Group Type</title>
-       <type>varchar</type>
-       <length>255</length>
-       <import>true</import>
-       <comment>This column will store a comma separated list of the type(s) of profile fields.</comment>
-       <add>2.1</add>
-  </field>
-  <field>
-       <name>form_type</name>
-       <type>enum</type>
-       <values>CiviCRM Profile</values>
-       <comment>Type of form.</comment>
-       <drop>2.1</drop>
-  </field>
-  <field>
-       <name>title</name>
-       <type>varchar</type>
-       <length>64</length>
-       <localizable>true</localizable>
-      <required>true</required>
-       <comment>Form title.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>description</name>
-       <type>text</type>
-       <title>Profile Description</title>
-       <html>
-         <type>TextArea</type>
-         <rows>2</rows>
-         <cols>60</cols>
-       </html>
-       <comment>Optional verbose description of the profile.</comment>
-       <add>4.4</add>
-  </field>
-  <field>
-     <name>collapse_display</name>
-     <type>int unsigned</type>
-     <default>0</default>
-     <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
-     <add>1.1</add>
-     <drop>2.2</drop>
-  </field>
-  <field>
-     <name>help_pre</name>
-     <type>text</type>
-     <localizable>true</localizable>
-     <comment>Description and/or help text to display before fields in form.</comment>
-     <html>
-       <type>TextArea</type>
-       <rows>4</rows>
-       <cols>80</cols>
-     </html>
-     <add>1.2</add>
-  </field>
-  <field>
-     <name>help_post</name>
-      <title>Profile Post Text</title>
-     <type>text</type>
-     <localizable>true</localizable>
-     <comment>Description and/or help text to display after fields in form.</comment>
-     <html>
-       <type>TextArea</type>
-       <rows>4</rows>
-       <cols>80</cols>
-     </html>
-     <add>1.2</add>
-  </field>
-  <field>
-      <name>weight</name>
-      <title>Profile Weight</title>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
-      <add>1.2</add>
-      <drop>1.3</drop>
-  </field>
-  <field>
-       <name>limit_listings_group_id</name>
-       <title>Profile Search Limit Group</title>
-       <type>int unsigned</type>
-       <comment>Group id, foriegn key from civicrm_group</comment>
-      <add>1.4</add>
+    <name>is_active</name>
+    <title>Profile Is Active</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>group_type</name>
+    <title>Profile Group Type</title>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <comment>This column will store a comma separated list of the type(s) of profile fields.</comment>
+    <add>2.1</add>
+  </field>
+  <field>
+    <name>form_type</name>
+    <type>enum</type>
+    <values>CiviCRM Profile</values>
+    <comment>Type of form.</comment>
+    <drop>2.1</drop>
+  </field>
+  <field>
+    <name>title</name>
+    <type>varchar</type>
+    <length>64</length>
+    <localizable>true</localizable>
+    <required>true</required>
+    <comment>Form title.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>description</name>
+    <type>text</type>
+    <title>Profile Description</title>
+    <html>
+      <type>TextArea</type>
+      <rows>2</rows>
+      <cols>60</cols>
+    </html>
+    <comment>Optional verbose description of the profile.</comment>
+    <add>4.4</add>
+  </field>
+  <field>
+    <name>collapse_display</name>
+    <type>int unsigned</type>
+    <default>0</default>
+    <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
+    <add>1.1</add>
+    <drop>2.2</drop>
+  </field>
+  <field>
+    <name>help_pre</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Description and/or help text to display before fields in form.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>80</cols>
+    </html>
+    <add>1.2</add>
+  </field>
+  <field>
+    <name>help_post</name>
+    <title>Profile Post Text</title>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Description and/or help text to display after fields in form.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>80</cols>
+    </html>
+    <add>1.2</add>
+  </field>
+  <field>
+    <name>weight</name>
+    <title>Profile Weight</title>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
+    <add>1.2</add>
+    <drop>1.3</drop>
+  </field>
+  <field>
+    <name>limit_listings_group_id</name>
+    <title>Profile Search Limit Group</title>
+    <type>int unsigned</type>
+    <comment>Group id, foriegn key from civicrm_group</comment>
+    <add>1.4</add>
   </field>
   <foreignKey>
-       <name>limit_listings_group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <add>1.4</add>
-       <onDelete>SET NULL</onDelete>
+    <name>limit_listings_group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <add>1.4</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-       <name>post_URL</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Redirect to URL.</comment>
-       <add>1.4</add>
+    <name>post_URL</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Redirect to URL.</comment>
+    <add>1.4</add>
   </field>
   <field>
-      <name>add_to_group_id</name>
-      <title>Add Contact To Group</title>
-      <type>int unsigned</type>
-      <comment>foreign key to civicrm_group_id</comment>
+    <name>add_to_group_id</name>
+    <title>Add Contact To Group</title>
+    <type>int unsigned</type>
+    <comment>foreign key to civicrm_group_id</comment>
   </field>
   <foreignKey>
-       <name>add_to_group_id</name>
-       <table>civicrm_group</table>
-       <key>id</key>
-       <onDelete>SET NULL</onDelete>
+    <name>add_to_group_id</name>
+    <table>civicrm_group</table>
+    <key>id</key>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
-   <field>
-       <name>add_captcha</name>
-       <title>Show Captcha On Profile</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should a CAPTCHA widget be included this Profile form.</comment>
-       <add>1.1</add>
-  </field>
-  <field>
-       <name>is_map</name>
-       <title>Map Profile</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Do we want to map results from this profile.</comment>
-       <add>1.5</add>
-  </field>
-  <field>
-       <name>is_edit_link</name>
-       <title>Show Edit Link?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should edit link display in profile selector</comment>
-       <add>1.6</add>
-  </field>
-  <field>
-       <name>is_uf_link</name>
-       <title>Show Link to CMS User</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should we display a link to the website profile in profile selector</comment>
-       <add>1.7</add>
-  </field>
-  <field>
-       <name>is_update_dupe</name>
-       <title>Update on Duplicate</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should we update the contact record if we find a duplicate</comment>
-       <add>1.7</add>
-  </field>
-  <field>
-       <name>cancel_URL</name>
-       <title>Profile Cancel URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Redirect to URL when Cancle button clik .</comment>
-       <add>1.4</add>
-  </field>
-  <field>
-       <name>is_cms_user</name>
-       <title>Create CMS User?</title>
-       <type>boolean</type>
-       <default>0</default>
-       <comment>Should we create a cms user for this profile </comment>
-       <add>1.8</add>
-  </field>
-  <field>
-       <name>notify</name>
-       <title>Notify on Profile Submit</title>
-       <type>text</type>
-       <add>1.8</add>
+  <field>
+    <name>add_captcha</name>
+    <title>Show Captcha On Profile</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should a CAPTCHA widget be included this Profile form.</comment>
+    <add>1.1</add>
+  </field>
+  <field>
+    <name>is_map</name>
+    <title>Map Profile</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Do we want to map results from this profile.</comment>
+    <add>1.5</add>
+  </field>
+  <field>
+    <name>is_edit_link</name>
+    <title>Show Edit Link?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should edit link display in profile selector</comment>
+    <add>1.6</add>
+  </field>
+  <field>
+    <name>is_uf_link</name>
+    <title>Show Link to CMS User</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should we display a link to the website profile in profile selector</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>is_update_dupe</name>
+    <title>Update on Duplicate</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should we update the contact record if we find a duplicate</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>cancel_URL</name>
+    <title>Profile Cancel URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Redirect to URL when Cancle button clik .</comment>
+    <add>1.4</add>
+  </field>
+  <field>
+    <name>is_cms_user</name>
+    <title>Create CMS User?</title>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>Should we create a cms user for this profile </comment>
+    <add>1.8</add>
+  </field>
+  <field>
+    <name>notify</name>
+    <title>Notify on Profile Submit</title>
+    <type>text</type>
+    <add>1.8</add>
   </field>
   <field>
     <name>is_reserved</name>
index 3b463b90475c0b7ee957d78593562e4dba09074c..6f23639427dbcbac4ebd87d3eaa16e4bea0f6a1b 100644 (file)
@@ -8,97 +8,97 @@
   <add>1.3</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <title>UF Join ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Unique table ID</comment>
-      <add>1.3</add>
+    <name>id</name>
+    <title>UF Join ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Unique table ID</comment>
+    <add>1.3</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>is_active</name>
-       <title>Profile Use is active</title>
-       <type>boolean</type>
-        <default>1</default>
-       <comment>Is this join currently active?</comment>
-       <add>1.3</add>
+    <name>is_active</name>
+    <title>Profile Use is active</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this join currently active?</comment>
+    <add>1.3</add>
   </field>
   <field>
-       <name>module</name>
-       <title>Profile Module</title>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>Module which owns this uf_join instance, e.g. User Registration, CiviDonate, etc.</comment>
-       <add>1.3</add>
+    <name>module</name>
+    <title>Profile Module</title>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Module which owns this uf_join instance, e.g. User Registration, CiviDonate, etc.</comment>
+    <add>1.3</add>
   </field>
   <field>
-       <name>entity_table</name>
-       <title>Profile Entity Table</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.</comment>
-       <add>1.3</add>
+    <name>entity_table</name>
+    <title>Profile Entity Table</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.</comment>
+    <add>1.3</add>
   </field>
   <field>
-       <name>entity_id</name>
-       <title>Profile Entity ID</title>
-       <type>int unsigned</type>
-       <comment>Foreign key to the referenced item.</comment>
-       <add>1.3</add>
+    <name>entity_id</name>
+    <title>Profile Entity ID</title>
+    <type>int unsigned</type>
+    <comment>Foreign key to the referenced item.</comment>
+    <add>1.3</add>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
-       <add>1.3</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>1.3</add>
   </dynamicForeignKey>
   <index>
-       <name>index_entity</name>
-       <add>1.3</add>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <add>1.3</add>
+    <name>index_entity</name>
+    <add>1.3</add>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <add>1.3</add>
   </index>
   <field>
-      <name>weight</name>
-      <title>Profile Weight</title>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
-      <add>1.3</add>
+    <name>weight</name>
+    <title>Profile Weight</title>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
+    <add>1.3</add>
   </field>
   <field>
-      <name>uf_group_id</name>
-      <title>Profile ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Which form does this field belong to.</comment>
-      <add>1.3</add>
-      <pseudoconstant>
-        <table>civicrm_uf_group</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>title</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>uf_group_id</name>
+    <title>Profile ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Which form does this field belong to.</comment>
+    <add>1.3</add>
+    <pseudoconstant>
+      <table>civicrm_uf_group</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>uf_group_id</name>
-       <table>civicrm_uf_group</table>
-       <key>id</key>
-       <add>1.3</add>
+    <name>uf_group_id</name>
+    <table>civicrm_uf_group</table>
+    <key>id</key>
+    <add>1.3</add>
   </foreignKey>
   <field>
-       <name>module_data</name>
-       <title>Profile Use Data</title>
-       <type>longtext</type>
-       <comment>Json serialized array of data used by the ufjoin.module</comment>
-       <add>4.5</add>
+    <name>module_data</name>
+    <title>Profile Use Data</title>
+    <type>longtext</type>
+    <comment>Json serialized array of data used by the ufjoin.module</comment>
+    <add>4.5</add>
   </field>
 </table>
index a4481d27fd098f81319f101bb97f728c25241b52..fb3a05425dfb6af68856c6c1ecf9bd288bd5a8ef 100644 (file)
@@ -8,79 +8,79 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <title>UF Match ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>System generated ID.</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <title>UF Match ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>System generated ID.</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <title>UF Match Domain ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Which Domain is this match entry for</comment>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <add>3.0</add>
+    <name>domain_id</name>
+    <title>UF Match Domain ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Which Domain is this match entry for</comment>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>3.0</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>3.0</add>
   </foreignKey>
   <field>
-       <name>uf_id</name>
-       <title>CMS ID</title>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>UF ID</comment>
-       <add>1.1</add>
+    <name>uf_id</name>
+    <title>CMS ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>UF ID</comment>
+    <add>1.1</add>
   </field>
   <index>
-     <name>I_civicrm_uf_match_uf_id</name>
-     <fieldName>uf_id</fieldName>
-     <add>3.3</add>
+    <name>I_civicrm_uf_match_uf_id</name>
+    <fieldName>uf_id</fieldName>
+    <add>3.3</add>
   </index>
   <field>
-       <name>uf_name</name>
-       <title>CMS Unique Identifier</title>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>UF Name</comment>
-       <add>1.9.kabissa</add>
+    <name>uf_name</name>
+    <title>CMS Unique Identifier</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>UF Name</comment>
+    <add>1.9.kabissa</add>
   </field>
   <field>
-      <name>contact_id</name>
-      <title>CiviCRM Contact ID</title>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>1.1</add>
+    <name>contact_id</name>
+    <title>CiviCRM Contact ID</title>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>email</name>
-       <type>varchar</type>
-       <length>64</length>
-       <rule>email</rule>
-       <comment>Email address</comment>
-       <add>1.1</add>
-       <drop>2.0</drop>
+    <name>email</name>
+    <type>varchar</type>
+    <length>64</length>
+    <rule>email</rule>
+    <comment>Email address</comment>
+    <add>1.1</add>
+    <drop>2.0</drop>
   </field>
   <field>
     <name>language</name>
     <add>2.1</add>
   </field>
   <index>
-     <name>UI_uf_id_domain_id</name>
-     <fieldName>uf_id</fieldName>
-     <fieldName>domain_id</fieldName>
-     <unique>true</unique>
-     <add>1.5</add>
-     <drop>1.7</drop>
+    <name>UI_uf_id_domain_id</name>
+    <fieldName>uf_id</fieldName>
+    <fieldName>domain_id</fieldName>
+    <unique>true</unique>
+    <add>1.5</add>
+    <drop>1.7</drop>
   </index>
   <index>
-     <name>UI_uf_name_domain_id</name>
-     <fieldName>uf_name</fieldName>
-     <fieldName>domain_id</fieldName>
-     <unique>true</unique>
-     <add>2.1</add>
+    <name>UI_uf_name_domain_id</name>
+    <fieldName>uf_name</fieldName>
+    <fieldName>domain_id</fieldName>
+    <unique>true</unique>
+    <add>2.1</add>
   </index>
   <index>
     <name>UI_contact_domain_id</name>
     <fieldName>contact_id</fieldName>
-     <fieldName>domain_id</fieldName>
+    <fieldName>domain_id</fieldName>
     <unique>true</unique>
     <add>1.6</add>
   </index>
index d6a9fdff821f7e18afd0f4f2aa52f8243fcd4a0d..32a68a4c76fc04a7abd7112debbdc8359abd3a54 100644 (file)
@@ -7,58 +7,58 @@
   <comment>Website information for a specific location.</comment>
   <add>3.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <title>Website ID</title>
-      <required>true</required>
-      <comment>Unique Website ID</comment>
-       <add>3.2</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Website ID</title>
+    <required>true</required>
+    <comment>Unique Website ID</comment>
+    <add>3.2</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <title>Contact</title>
-      <type>int unsigned</type>
-      <comment>FK to Contact ID</comment>
-      <add>3.2</add>
+    <name>contact_id</name>
+    <title>Contact</title>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID</comment>
+    <add>3.2</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>3.2</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.2</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-       <name>url</name>
-       <title>Website</title>
-       <type>varchar</type>
-       <length>128</length>
-       <html>
-         <type>Text</type>
-         <size>BIG</size>
-       </html>
-       <import>true</import>
-       <headerPattern>/Website/i</headerPattern>
-       <dataPattern>/^[A-Za-z][0-9A-Za-z]{20,}$/</dataPattern>
-       <comment>Website</comment>
-       <add>3.2</add>
+    <name>url</name>
+    <title>Website</title>
+    <type>varchar</type>
+    <length>128</length>
+    <html>
+      <type>Text</type>
+      <size>BIG</size>
+    </html>
+    <import>true</import>
+    <headerPattern>/Website/i</headerPattern>
+    <dataPattern>/^[A-Za-z][0-9A-Za-z]{20,}$/</dataPattern>
+    <comment>Website</comment>
+    <add>3.2</add>
   </field>
   <field>
-      <name>website_type_id</name>
-      <title>Website Type</title>
-      <type>int unsigned</type>
-      <comment>Which Website type does this website belong to.</comment>
-      <add>3.2</add>
-      <pseudoconstant>
-        <optionGroupName>website_type</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>website_type_id</name>
+    <title>Website Type</title>
+    <type>int unsigned</type>
+    <comment>Which Website type does this website belong to.</comment>
+    <add>3.2</add>
+    <pseudoconstant>
+      <optionGroupName>website_type</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>UI_website_type_id</name>
index 1c2f287004362281ba8f24e134433166c9b8423d..bdf52037c84b2cae972c3940db2721d00c437164 100644 (file)
@@ -6,24 +6,24 @@
   <name>civicrm_worldregion</name>
   <add>1.8</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Country Id</comment>
-      <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Country Id</comment>
+    <add>1.8</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <uniqueName>world_region</uniqueName>
-       <title>World Region</title>
-       <type>varchar</type>
-       <length>128</length>
-       <comment>Region name to be associated with countries</comment>
-       <export>true</export>
-       <add>1.8</add>
+    <name>name</name>
+    <uniqueName>world_region</uniqueName>
+    <title>World Region</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Region name to be associated with countries</comment>
+    <export>true</export>
+    <add>1.8</add>
   </field>
 </table>
index 5992f52ecd77a9495a07153a4bdfa32ccd1619e1..1969f6191070588f3844f35392bf66546abfbc39 100644 (file)
   <name>civicrm_event_page</name>
   <add>1.7</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Event Page ID</comment>
-       <add>1.7</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Event Page ID</comment>
+    <add>1.7</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>event_id</name>
-      <title>Event</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Event which this page belongs to.</comment>
-       <add>1.7</add>
+    <name>event_id</name>
+    <title>Event</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Event which this page belongs to.</comment>
+    <add>1.7</add>
   </field>
   <foreignKey>
-       <name>event_id</name>
-       <table>civicrm_event</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>event_id</name>
+    <table>civicrm_event</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>intro_text</name>
-      <type>text</type>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <title>Introductory Message</title>
-      <localizable>true</localizable>
-      <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>footer_text</name>
-      <title>Footer Message</title>
-      <type>text</type>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <localizable>true</localizable>
-      <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>confirm_title</name>
-      <type>varchar</type>
-      <title>Confirmation Title</title>
-      <length>255</length>
-      <default>NULL</default>
-      <localizable>true</localizable>
-      <comment>Title for Confirmation page.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>confirm_text</name>
-      <type>text</type>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <title>Confirm Text</title>
-      <localizable>true</localizable>
-      <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>confirm_footer_text</name>
-      <type>text</type>
-      <title>Footer Text</title>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <localizable>true</localizable>
-      <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>is_email_confirm</name>
-      <type>boolean</type>
-      <title>Is confirm email</title>
-      <default>0</default>
-      <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
-      <add>1.7</add>
-  </field>
- <field>
-      <name>confirm_email_text</name>
-      <type>text</type>
-      <title>Confirmation Email Text</title>
-      <html>
-        <type>TextArea</type>
-        <rows>4</rows>
-        <cols>50</cols>
-      </html>
-      <localizable>true</localizable>
-      <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment>
-      <add>1.7</add>
-  </field>
- <field>
-      <name>confirm_from_name</name>
-      <type>varchar</type>
-      <title>Confirm From Name</title>
-      <length>255</length>
-      <localizable>true</localizable>
-      <comment>FROM email name used for confirmation emails.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>confirm_from_email</name>
-      <type>varchar</type>
-      <title>Confirm From Email</title>
-      <length>255</length>
-      <comment>FROM email address used for confirmation emails.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>cc_confirm</name>
-      <type>varchar</type>
-      <length>255</length>
-      <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>bcc_confirm</name>
-      <type>varchar</type>
-      <length>255</length>
-      <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>default_fee_id</name>
-      <type>int unsigned</type>
-      <comment>FK to civicrm_option_value.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>default_discount_id</name>
-      <type>int unsigned</type>
-      <comment>FK to civicrm_option_value.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>thankyou_title</name>
-      <type>varchar</type>
-      <title>ThankYou Title</title>
-      <length>255</length>
-      <default>NULL</default>
-      <localizable>true</localizable>
-      <comment>Title for ThankYou page.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>thankyou_text</name>
-      <type>text</type>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <title>ThankYou Text</title>
-      <localizable>true</localizable>
-      <comment>ThankYou Text.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>thankyou_footer_text</name>
-      <type>text</type>
-      <title>Footer Text</title>
-      <html>
-        <type>TextArea</type>
-        <rows>6</rows>
-        <cols>50</cols>
-      </html>
-      <localizable>true</localizable>
-      <comment>Footer message.</comment>
-      <add>1.7</add>
-  </field>
-  <field>
-      <name>is_pay_later</name>
-      <type>boolean</type>
-      <default>0</default>
-      <comment>if true - allows the user to send payment directly to the org later</comment>
-      <add>2.0</add>
-  </field>
-  <field>
-      <name>pay_later_text</name>
-      <type>text</type>
-      <localizable>true</localizable>
-      <comment>The text displayed to the user in the main form</comment>
-      <add>2.0</add>
-  </field>
-  <field>
-      <name>pay_later_receipt</name>
-      <type>text</type>
-      <localizable>true</localizable>
-      <comment>The receipt sent to the user instead of the normal receipt text</comment>
-      <add>2.0</add>
-  </field>
-  <field>
-      <name>is_multiple_registrations</name>
-      <type>boolean</type>
-      <default>0</default>
-      <comment>if true - allows the user to register multiple participants for event</comment>
-      <add>2.1</add>
+    <name>intro_text</name>
+    <type>text</type>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <title>Introductory Message</title>
+    <localizable>true</localizable>
+    <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event
+      Registration form.
+    </comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>footer_text</name>
+    <title>Footer Message</title>
+    <type>text</type>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <localizable>true</localizable>
+    <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event
+      Registration form.
+    </comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_title</name>
+    <type>varchar</type>
+    <title>Confirmation Title</title>
+    <length>255</length>
+    <default>NULL</default>
+    <localizable>true</localizable>
+    <comment>Title for Confirmation page.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_text</name>
+    <type>text</type>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <title>Confirm Text</title>
+    <localizable>true</localizable>
+    <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event
+      Registration form.
+    </comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_footer_text</name>
+    <type>text</type>
+    <title>Footer Text</title>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <localizable>true</localizable>
+    <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event
+      Registration form.
+    </comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>is_email_confirm</name>
+    <type>boolean</type>
+    <title>Is confirm email</title>
+    <default>0</default>
+    <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_email_text</name>
+    <type>text</type>
+    <title>Confirmation Email Text</title>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>50</cols>
+    </html>
+    <localizable>true</localizable>
+    <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html
+      for now
+    </comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_from_name</name>
+    <type>varchar</type>
+    <title>Confirm From Name</title>
+    <length>255</length>
+    <localizable>true</localizable>
+    <comment>FROM email name used for confirmation emails.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>confirm_from_email</name>
+    <type>varchar</type>
+    <title>Confirm From Email</title>
+    <length>255</length>
+    <comment>FROM email address used for confirmation emails.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>cc_confirm</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>bcc_confirm</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>default_fee_id</name>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_option_value.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>default_discount_id</name>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_option_value.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>thankyou_title</name>
+    <type>varchar</type>
+    <title>ThankYou Title</title>
+    <length>255</length>
+    <default>NULL</default>
+    <localizable>true</localizable>
+    <comment>Title for ThankYou page.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>thankyou_text</name>
+    <type>text</type>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <title>ThankYou Text</title>
+    <localizable>true</localizable>
+    <comment>ThankYou Text.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>thankyou_footer_text</name>
+    <type>text</type>
+    <title>Footer Text</title>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+    </html>
+    <localizable>true</localizable>
+    <comment>Footer message.</comment>
+    <add>1.7</add>
+  </field>
+  <field>
+    <name>is_pay_later</name>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>if true - allows the user to send payment directly to the org later</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>pay_later_text</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>The text displayed to the user in the main form</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>pay_later_receipt</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>The receipt sent to the user instead of the normal receipt text</comment>
+    <add>2.0</add>
+  </field>
+  <field>
+    <name>is_multiple_registrations</name>
+    <type>boolean</type>
+    <default>0</default>
+    <comment>if true - allows the user to register multiple participants for event</comment>
+    <add>2.1</add>
   </field>
 </table>
index e76bca9db94923fb4816a71b66125bad001573fa..260baff41817f3db3ba9872aeaa89ec00f01cc37 100644 (file)
@@ -7,73 +7,75 @@
   <add>1.7</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <uniqueName>participant_id</uniqueName>
-      <title>Participant ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Participant Id</comment>
-      <import>true</import>
-      <headerPattern>/(^(participant(.)?)?id$)/i</headerPattern>
-      <add>1.7</add>
+    <name>id</name>
+    <uniqueName>participant_id</uniqueName>
+    <title>Participant ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Participant Id</comment>
+    <import>true</import>
+    <headerPattern>/(^(participant(.)?)?id$)/i</headerPattern>
+    <add>1.7</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>contact_id</name>
-      <uniqueName>participant_contact_id</uniqueName>
-      <type>int unsigned</type>
-      <title>Contact ID</title>
-      <headerPattern>/contact(.?id)?/i</headerPattern>
-      <import>true</import>
-      <required>true</required>
-      <comment>FK to Contact ID</comment>
-      <add>1.7</add>
+    <name>contact_id</name>
+    <uniqueName>participant_contact_id</uniqueName>
+    <type>int unsigned</type>
+    <title>Contact ID</title>
+    <headerPattern>/contact(.?id)?/i</headerPattern>
+    <import>true</import>
+    <required>true</required>
+    <comment>FK to Contact ID</comment>
+    <add>1.7</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>event_id</name>
-      <type>int unsigned</type>
-      <title>Event</title>
-      <import>true</import>
-      <headerPattern>/event id$/i</headerPattern>
-      <required>true</required>
-      <comment>FK to Event ID</comment>
-      <add>1.7</add>
+    <name>event_id</name>
+    <type>int unsigned</type>
+    <title>Event</title>
+    <import>true</import>
+    <headerPattern>/event id$/i</headerPattern>
+    <required>true</required>
+    <comment>FK to Event ID</comment>
+    <add>1.7</add>
   </field>
   <foreignKey>
-       <name>event_id</name>
-       <table>civicrm_event</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>event_id</name>
+    <table>civicrm_event</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>status_id</name>
-      <uniqueName>participant_status_id</uniqueName>
-      <title>Participant Status</title>
-      <headerPattern>/(participant.)?(status)$/i</headerPattern>
-      <import>true</import>
-      <type>int unsigned</type>
-      <export>false</export>
-      <required>true</required>
-      <default>1</default>
-      <comment>Participant status ID. FK to civicrm_participant_status_type. Default of 1 should map to status = Registered.</comment>
-      <add>1.7</add>
-      <pseudoconstant>
-        <table>civicrm_participant_status_type</table>
-        <keyColumn>id</keyColumn>
-        <labelColumn>label</labelColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>status_id</name>
+    <uniqueName>participant_status_id</uniqueName>
+    <title>Participant Status</title>
+    <headerPattern>/(participant.)?(status)$/i</headerPattern>
+    <import>true</import>
+    <type>int unsigned</type>
+    <export>false</export>
+    <required>true</required>
+    <default>1</default>
+    <comment>Participant status ID. FK to civicrm_participant_status_type. Default of 1 should map to status =
+      Registered.
+    </comment>
+    <add>1.7</add>
+    <pseudoconstant>
+      <table>civicrm_participant_status_type</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>label</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
     <name>status_id</name>
     <add>1.8</add>
   </index>
   <field>
-      <name>role_id</name>
-      <uniqueName>participant_role_id</uniqueName>
-      <title>Participant Role(s)</title>
-      <pseudoconstant>
-        <optionGroupName>participant_role</optionGroupName>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
-      <headerPattern>/(participant.)?(role)$/i</headerPattern>
-      <import>true</import>
-      <type>varchar</type>
-      <length>128</length>
-      <export>false</export>
-      <default>NULL</default>
-      <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
-      <add>1.7</add>
+    <name>role_id</name>
+    <uniqueName>participant_role_id</uniqueName>
+    <title>Participant Role(s)</title>
+    <pseudoconstant>
+      <optionGroupName>participant_role</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <headerPattern>/(participant.)?(role)$/i</headerPattern>
+    <import>true</import>
+    <type>varchar</type>
+    <length>128</length>
+    <export>false</export>
+    <default>NULL</default>
+    <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
+    <add>1.7</add>
   </field>
   <index>
     <name>index_role_id</name>
     <add>1.8</add>
   </index>
   <field>
-      <name>register_date</name>
-      <uniqueName>participant_register_date</uniqueName>
-      <title>Register date</title>
-      <headerPattern>/^(r(egister\s)?date)$/i</headerPattern>
-      <import>true</import>
-      <type>datetime</type>
-      <comment>When did contact register for event?</comment>
-      <add>1.7</add>
+    <name>register_date</name>
+    <uniqueName>participant_register_date</uniqueName>
+    <title>Register date</title>
+    <headerPattern>/^(r(egister\s)?date)$/i</headerPattern>
+    <import>true</import>
+    <type>datetime</type>
+    <comment>When did contact register for event?</comment>
+    <add>1.7</add>
   </field>
   <field>
-      <name>source</name>
-      <uniqueName>participant_source</uniqueName>
-      <title>Participant Source</title>
-      <headerPattern>/(participant.)?(source)$/i</headerPattern>
-      <import>true</import>
-      <type>varchar</type>
-      <length>128</length>
-      <comment>Source of this event registration.</comment>
-      <add>1.7</add>
+    <name>source</name>
+    <uniqueName>participant_source</uniqueName>
+    <title>Participant Source</title>
+    <headerPattern>/(participant.)?(source)$/i</headerPattern>
+    <import>true</import>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Source of this event registration.</comment>
+    <add>1.7</add>
   </field>
   <field>
-      <name>fee_level</name>
-      <uniqueName>participant_fee_level</uniqueName>
-      <title>Fee level</title>
-      <headerPattern>/^(f(ee\s)?level)$/i</headerPattern>
-      <type>text</type>
-      <import>true</import>
-      <comment>Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that we store the label value and not the key</comment>
-      <add>1.7</add>
+    <name>fee_level</name>
+    <uniqueName>participant_fee_level</uniqueName>
+    <title>Fee level</title>
+    <headerPattern>/^(f(ee\s)?level)$/i</headerPattern>
+    <type>text</type>
+    <import>true</import>
+    <comment>Populate with the label (text) associated with a fee level for paid events with multiple levels. Note that
+      we store the label value and not the key
+    </comment>
+    <add>1.7</add>
   </field>
   <field>
-      <name>is_test</name>
-      <uniqueName>participant_is_test</uniqueName>
-      <title>Test</title>
-      <type>boolean</type>
-      <default>0</default>
-      <import>true</import>
-      <add>1.7</add>
+    <name>is_test</name>
+    <uniqueName>participant_is_test</uniqueName>
+    <title>Test</title>
+    <type>boolean</type>
+    <default>0</default>
+    <import>true</import>
+    <add>1.7</add>
   </field>
   <field>
-      <name>is_pay_later</name>
-      <uniqueName>participant_is_pay_later</uniqueName>
-      <title>Is Pay Later</title>
-      <type>boolean</type>
-      <default>0</default>
-      <import>true</import>
-      <headerPattern>/(is.)?(pay(.)?later)$/i</headerPattern>
-      <add>2.1</add>
+    <name>is_pay_later</name>
+    <uniqueName>participant_is_pay_later</uniqueName>
+    <title>Is Pay Later</title>
+    <type>boolean</type>
+    <default>0</default>
+    <import>true</import>
+    <headerPattern>/(is.)?(pay(.)?later)$/i</headerPattern>
+    <add>2.1</add>
   </field>
 
   <field>
-      <name>fee_amount</name>
-      <uniqueName>participant_fee_amount</uniqueName>
-      <title>Fee Amount</title>
-      <type>decimal</type>
-      <import>true</import>
-      <headerPattern>/fee(.?am(ou)?nt)?/i</headerPattern>
-      <dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
-      <comment>actual processor fee if known - may be 0.</comment>
-      <add>2.1</add>
+    <name>fee_amount</name>
+    <uniqueName>participant_fee_amount</uniqueName>
+    <title>Fee Amount</title>
+    <type>decimal</type>
+    <import>true</import>
+    <headerPattern>/fee(.?am(ou)?nt)?/i</headerPattern>
+    <dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
+    <comment>actual processor fee if known - may be 0.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>registered_by_id</name>
-      <uniqueName>participant_registered_by_id</uniqueName>
-      <type>int unsigned</type>
-      <title>Registered By ID</title>
-      <import>true</import>
-      <default>NULL</default>
-      <comment>FK to Participant ID</comment>
-      <add>2.1</add>
-      <export>true</export>
+    <name>registered_by_id</name>
+    <uniqueName>participant_registered_by_id</uniqueName>
+    <type>int unsigned</type>
+    <title>Registered By ID</title>
+    <import>true</import>
+    <default>NULL</default>
+    <comment>FK to Participant ID</comment>
+    <add>2.1</add>
+    <export>true</export>
   </field>
   <foreignKey>
-       <name>registered_by_id</name>
-       <table>civicrm_participant</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>registered_by_id</name>
+    <table>civicrm_participant</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>discount_id</name>
-      <uniqueName>participant_discount_id</uniqueName>
-      <type>int unsigned</type>
-      <title>Discount ID</title>
-      <default>NULL</default>
-      <comment>FK to Discount ID</comment>
-      <add>2.1</add>
+    <name>discount_id</name>
+    <uniqueName>participant_discount_id</uniqueName>
+    <type>int unsigned</type>
+    <title>Discount ID</title>
+    <default>NULL</default>
+    <comment>FK to Discount ID</comment>
+    <add>2.1</add>
   </field>
   <foreignKey>
-       <name>discount_id</name>
-       <table>civicrm_discount</table>
-       <key>id</key>
-       <add>2.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>discount_id</name>
+    <table>civicrm_discount</table>
+    <key>id</key>
+    <add>2.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>fee_currency</name>
-      <uniqueName>participant_fee_currency</uniqueName>
-      <title>Fee Currency</title>
-      <type>varchar</type>
-      <length>3</length>
-      <default>NULL</default>
-      <import>true</import>
-      <headerPattern>/(fee)?.?cur(rency)?/i</headerPattern>
-      <dataPattern>/^[A-Z]{3}$/i</dataPattern>
-      <comment>3 character string, value derived from config setting.</comment>
-      <add>3.0</add>
-      <pseudoconstant>
-        <table>civicrm_currency</table>
-        <keyColumn>name</keyColumn>
-        <labelColumn>full_name</labelColumn>
-        <nameColumn>numeric_code</nameColumn>
-      </pseudoconstant>
-      <html>
-        <type>Select</type>
-      </html>
+    <name>fee_currency</name>
+    <uniqueName>participant_fee_currency</uniqueName>
+    <title>Fee Currency</title>
+    <type>varchar</type>
+    <length>3</length>
+    <default>NULL</default>
+    <import>true</import>
+    <headerPattern>/(fee)?.?cur(rency)?/i</headerPattern>
+    <dataPattern>/^[A-Z]{3}$/i</dataPattern>
+    <comment>3 character string, value derived from config setting.</comment>
+    <add>3.0</add>
+    <pseudoconstant>
+      <table>civicrm_currency</table>
+      <keyColumn>name</keyColumn>
+      <labelColumn>full_name</labelColumn>
+      <nameColumn>numeric_code</nameColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
-      <name>campaign_id</name>
-      <uniqueName>participant_campaign_id</uniqueName>
-      <type>int unsigned</type>
-      <title>Campaign</title>
-      <import>true</import>
-      <comment>The campaign for which this participant has been registered.</comment>
-      <pseudoconstant>
-          <table>civicrm_campaign</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>title</labelColumn>
-      </pseudoconstant>
-      <add>3.4</add>
+    <name>campaign_id</name>
+    <uniqueName>participant_campaign_id</uniqueName>
+    <type>int unsigned</type>
+    <title>Campaign</title>
+    <import>true</import>
+    <comment>The campaign for which this participant has been registered.</comment>
+    <pseudoconstant>
+      <table>civicrm_campaign</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
+    <add>3.4</add>
   </field>
   <foreignKey>
-      <name>campaign_id</name>
-      <table>civicrm_campaign</table>
-      <key>id</key>
-      <onDelete>SET NULL</onDelete>
+    <name>campaign_id</name>
+    <table>civicrm_campaign</table>
+    <key>id</key>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>discount_amount</name>
-      <type>int unsigned</type>
-      <title>Discount Amount</title>
-      <comment>Discount Amount</comment>
-      <add>4.1</add>
+    <name>discount_amount</name>
+    <type>int unsigned</type>
+    <title>Discount Amount</title>
+    <comment>Discount Amount</comment>
+    <add>4.1</add>
   </field>
   <field>
-      <name>cart_id</name>
-      <type>int unsigned</type>
-      <title>Event Cart ID</title>
-      <comment>FK to civicrm_event_carts</comment>
-      <add>4.1</add>
+    <name>cart_id</name>
+    <type>int unsigned</type>
+    <title>Event Cart ID</title>
+    <comment>FK to civicrm_event_carts</comment>
+    <add>4.1</add>
   </field>
   <foreignKey>
-      <name>cart_id</name>
-      <table>civicrm_event_carts</table>
-      <key>id</key>
-      <onDelete>SET NULL</onDelete>
+    <name>cart_id</name>
+    <table>civicrm_event_carts</table>
+    <key>id</key>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>must_wait</name>
-      <type>int</type>
-      <title>Must Wait on List</title>
-      <comment>On Waiting List</comment>
-      <add>4.1</add>
+    <name>must_wait</name>
+    <type>int</type>
+    <title>Must Wait on List</title>
+    <comment>On Waiting List</comment>
+    <add>4.1</add>
   </field>
 </table>
index ecb4df53bf24252dd65b1e5898dbf8810e960c8d..c751945685349b5e85149d177b80be7b4b031cb2 100644 (file)
@@ -7,44 +7,44 @@
   <add>1.7</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <title>Payment ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Participant Payment Id</comment>
-       <add>1.7</add>
+    <name>id</name>
+    <title>Payment ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Participant Payment Id</comment>
+    <add>1.7</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>participant_id</name>
-      <title>Participant ID</title>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Participant Id (FK)</comment>
-      <add>1.7</add>
+    <name>participant_id</name>
+    <title>Participant ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Participant Id (FK)</comment>
+    <add>1.7</add>
   </field>
   <foreignKey>
-       <name>participant_id</name>
-       <table>civicrm_participant</table>
-       <key>id</key>
-       <onDelete>CASCADE</onDelete>
+    <name>participant_id</name>
+    <table>civicrm_participant</table>
+    <key>id</key>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
-      <name>contribution_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>FK to contribution table.</comment>
-      <add>2.0</add>
+    <name>contribution_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>FK to contribution table.</comment>
+    <add>2.0</add>
   </field>
   <foreignKey>
-       <name>contribution_id</name>
-       <table>civicrm_contribution</table>
-       <key>id</key>
-       <add>2.0</add>
-       <onDelete>CASCADE</onDelete>
+    <name>contribution_id</name>
+    <table>civicrm_contribution</table>
+    <key>id</key>
+    <add>2.0</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <index>
     <name>UI_contribution_participant</name>
index 96113189f4a9552c207902c91f556c86e87c724d..19c5a24fcdd9703fb9a080a9bafc125ca79d0889 100644 (file)
@@ -7,54 +7,54 @@
   <add>1.7</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Currency Id</comment>
-      <add>1.7</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Currency Id</comment>
+    <add>1.7</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Currency</title>
-       <type>varchar</type>
-       <length>64</length>
-       <import>true</import>
-       <comment>Currency Name</comment>
-       <add>1.7</add>
-       <html>
-          <type>Text</type>
-       </html>
+    <name>name</name>
+    <title>Currency</title>
+    <type>varchar</type>
+    <length>64</length>
+    <import>true</import>
+    <comment>Currency Name</comment>
+    <add>1.7</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
-       <name>symbol</name>
-       <type>varchar</type>
-       <length>8</length>
-       <comment>Currency Symbol</comment>
-       <add>1.7</add>
-       <html>
-          <type>Text</type>
-        </html>
+    <name>symbol</name>
+    <type>varchar</type>
+    <length>8</length>
+    <comment>Currency Symbol</comment>
+    <add>1.7</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
-       <name>numeric_code</name>
-       <type>varchar</type>
-       <length>3</length>
-       <import>true</import>
-       <comment>Numeric currency code</comment>
-       <add>1.9</add>
+    <name>numeric_code</name>
+    <type>varchar</type>
+    <length>3</length>
+    <import>true</import>
+    <comment>Numeric currency code</comment>
+    <add>1.9</add>
   </field>
   <field>
-       <name>full_name</name>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Full currency name</comment>
-       <html>
-          <type>Text</type>
-        </html>
-       <add>1.9</add>
+    <name>full_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Full currency name</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>1.9</add>
   </field>
 </table>
index 55b766bb4dfea113696b99c5701c91d8fbb74f0f..6aef995e316894ff47fd34ff09fe1ed4fc0ea408 100644 (file)
@@ -6,50 +6,50 @@
   <name>civicrm_payment_processor_type</name>
   <add>1.8</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Payment Processor Type ID</comment>
-       <add>1.8</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Payment Processor Type ID</comment>
+    <add>1.8</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Payment Processor variable name to be used in code</title>
-       <type>varchar</type>
-       <length>64</length>
-       <comment>Payment Processor Name.</comment>
-       <add>1.8</add>
+    <name>name</name>
+    <title>Payment Processor variable name to be used in code</title>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Payment Processor Name.</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>title</name>
-       <title>Payment Processor Title</title>
-       <type>varchar</type>
-       <length>127</length>
-       <comment>Payment Processor Name.</comment>
-       <add>1.8</add>
+    <name>title</name>
+    <title>Payment Processor Title</title>
+    <type>varchar</type>
+    <length>127</length>
+    <comment>Payment Processor Name.</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>description</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Payment Processor Description.</comment>
-       <add>1.8</add>
+    <name>description</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Payment Processor Description.</comment>
+    <add>1.8</add>
   </field>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this processor active?</comment>
-       <add>1.8</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this processor active?</comment>
+    <add>1.8</add>
   </field>
   <field>
-        <name>is_default</name>
-        <type>boolean</type>
-        <comment>Is this processor the default?</comment>
-       <add>1.8</add>
+    <name>is_default</name>
+    <type>boolean</type>
+    <comment>Is this processor the default?</comment>
+    <add>1.8</add>
   </field>
   <index>
     <name>UI_name</name>
     <add>2.1</add>
   </index>
   <field>
-       <name>user_name_label</name>
-       <title>Label for User Name if used</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>user_name_label</name>
+    <title>Label for User Name if used</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>password_label</name>
-       <title>Label for password</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>password_label</name>
+    <title>Label for password</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>signature_label</name>
-       <title>Label for Signature</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>signature_label</name>
+    <title>Label for Signature</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>subject_label</name>
-       <title>Label for Subject</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>subject_label</name>
+    <title>Label for Subject</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>class_name</name>
-       <title>Suffix for PHP clas name implementation</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>class_name</name>
+    <title>Suffix for PHP clas name implementation</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_site_default</name>
-       <title>Default Live Site URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_site_default</name>
+    <title>Default Live Site URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_api_default</name>
-       <title>Default API Site URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_api_default</name>
+    <title>Default API Site URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_recur_default</name>
-       <title>Default Live Recurring Payments URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_recur_default</name>
+    <title>Default Live Recurring Payments URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_button_default</name>
-       <title>Default Live Button URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_button_default</name>
+    <title>Default Live Button URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_site_test_default</name>
-       <title>Default Test Site URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_site_test_default</name>
+    <title>Default Test Site URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_api_test_default</name>
-       <title>Default Test API URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_api_test_default</name>
+    <title>Default Test API URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_recur_test_default</name>
-       <title>Default Test Recurring Payment URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_recur_test_default</name>
+    <title>Default Test Recurring Payment URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-       <name>url_button_test_default</name>
-       <title>Default Test Button URL</title>
-       <type>varchar</type>
-       <length>255</length>
-       <add>1.8</add>
+    <name>url_button_test_default</name>
+    <title>Default Test Button URL</title>
+    <type>varchar</type>
+    <length>255</length>
+    <add>1.8</add>
   </field>
   <field>
-      <name>billing_mode</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Billing Mode</comment>
-      <pseudoconstant>
-        <callback>CRM_Core_SelectValues::billingMode</callback>
-      </pseudoconstant>
-<html>
-  <type>Select</type>
-</html>
-      <add>1.8</add>
+    <name>billing_mode</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Billing Mode</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::billingMode</callback>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
+    <add>1.8</add>
   </field>
   <field>
-      <name>is_recur</name>
-      <type>boolean</type>
-      <comment>Can process recurring contributions</comment>
-      <add>1.8</add>
+    <name>is_recur</name>
+    <type>boolean</type>
+    <comment>Can process recurring contributions</comment>
+    <add>1.8</add>
   </field>
   <field>
-      <name>payment_type</name>
-      <type>int unsigned</type>
-      <default>1</default>
-      <comment>Payment Type: Credit or Debit</comment>
-      <add>3.0</add>
+    <name>payment_type</name>
+    <type>int unsigned</type>
+    <default>1</default>
+    <comment>Payment Type: Credit or Debit</comment>
+    <add>3.0</add>
   </field>
 </table>
index 68cc704904ce694a7c3ed461fdad36f83413bb29..b851fdfdef8f0d61a7c4fbe9288f52a82c662917 100644 (file)
@@ -6,97 +6,97 @@
   <name>civicrm_tell_friend</name>
   <add>2.0</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Friend ID</comment>
-       <add>2.0</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Friend ID</comment>
+    <add>2.0</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>Name of table where item being referenced is stored.</comment>
-       <add>2.0</add>
+    <name>entity_table</name>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Name of table where item being referenced is stored.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>entity_id</name>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>Foreign key to the referenced item.</comment>
-       <add>2.0</add>
+    <name>entity_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Foreign key to the referenced item.</comment>
+    <add>2.0</add>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
-       <add>2.0</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>2.0</add>
   </dynamicForeignKey>
   <field>
-      <name>title</name>
-      <type>varchar</type>
-      <length>255</length>
-      <localizable>true</localizable>
-      <html>
-          <type>Text</type>
-        </html>
-      <add>2.0</add>
+    <name>title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <localizable>true</localizable>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>2.0</add>
   </field>
   <field>
-      <name>intro</name>
-      <type>text</type>
-      <localizable>true</localizable>
-      <comment>Introductory message to contributor or participant displayed on the Tell a Friend form.</comment>
-      <html>
-        <type>Text</type>
-      </html>
-      <add>2.0</add>
+    <name>intro</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Introductory message to contributor or participant displayed on the Tell a Friend form.</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>2.0</add>
   </field>
   <field>
-      <name>suggested_message</name>
-      <type>text</type>
-      <localizable>true</localizable>
-      <comment>Suggested message to friends, provided as default on the Tell A Friend form.</comment>
-      <html>
-          <type>Text</type>
-        </html>
-      <add>2.0</add>
+    <name>suggested_message</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Suggested message to friends, provided as default on the Tell A Friend form.</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>2.0</add>
   </field>
   <field>
-      <name>general_link</name>
-      <type>varchar</type>
-      <length>255</length>
-      <import>true</import>
-      <comment>URL for general info about the organization - included in the email sent to friends.</comment>
-      <html>
-          <type>Text</type>
-        </html>
-      <add>2.0</add>
+    <name>general_link</name>
+    <type>varchar</type>
+    <length>255</length>
+    <import>true</import>
+    <comment>URL for general info about the organization - included in the email sent to friends.</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>2.0</add>
   </field>
   <field>
-      <name>thankyou_title</name>
-      <type>varchar</type>
-      <length>255</length>
-      <localizable>true</localizable>
-      <comment>Text for Tell a Friend thank you page header and HTML title.</comment>
-      <html>
-          <type>Text</type>
-      </html>
-      <add>2.0</add>
+    <name>thankyou_title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <localizable>true</localizable>
+    <comment>Text for Tell a Friend thank you page header and HTML title.</comment>
+    <html>
+      <type>Text</type>
+    </html>
+    <add>2.0</add>
   </field>
   <field>
-      <name>thankyou_text</name>
-      <type>text</type>
-      <localizable>true</localizable>
-      <comment>Thank you message displayed on success page.</comment>
-      <add>2.0</add>
-      <html>
-          <type>Text</type>
-        </html>
+    <name>thankyou_text</name>
+    <type>text</type>
+    <localizable>true</localizable>
+    <comment>Thank you message displayed on success page.</comment>
+    <add>2.0</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
     <name>is_active</name>
index 106394ca79ba3a9f7c89d4eed2691ae79bdc1f28..fa2ed63e8b0b4e05f75224c170e24d56079b94b8 100644 (file)
   <comment>Stores a list of queue items</comment>
   <add>4.2</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>queue_name</name>
-      <type>varchar</type>
-      <length>64</length>
-      <comment>Name of the queue which includes this item</comment>
-      <required>true</required>
-      <html>
-        <type>Text</type>
-      </html>
+    <name>queue_name</name>
+    <type>varchar</type>
+    <length>64</length>
+    <comment>Name of the queue which includes this item</comment>
+    <required>true</required>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
-      <name>weight</name>
-      <type>int</type>
-      <required>true</required>
-      <html>
-        <type>Text</type>
-      </html>
+    <name>weight</name>
+    <type>int</type>
+    <required>true</required>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
-      <name>submit_time</name>
-      <type>datetime</type>
-      <comment>date on which this item was submitted to the queue</comment>
-      <required>true</required>
-      <html>
-        <type>Select Date</type>
+    <name>submit_time</name>
+    <type>datetime</type>
+    <comment>date on which this item was submitted to the queue</comment>
+    <required>true</required>
+    <html>
+      <type>Select Date</type>
     </html>
   </field>
   <field>
-      <name>release_time</name>
-      <type>datetime</type>
-      <comment>date on which this job becomes available; null if ASAP</comment>
-      <html>
-        <type>Select Date</type>
+    <name>release_time</name>
+    <type>datetime</type>
+    <comment>date on which this job becomes available; null if ASAP</comment>
+    <html>
+      <type>Select Date</type>
     </html>
   </field>
-  
+
   <field>
-      <name>data</name>
-      <title>Queue item datas</title>
-      <type>text</type>
-      <comment>Serialized queue</comment>
+    <name>data</name>
+    <title>Queue item datas</title>
+    <type>text</type>
+    <comment>Serialized queue</comment>
   </field>
   <index>
-     <name>index_queueids</name>
-     <fieldName>queue_name</fieldName>
-     <fieldName>weight</fieldName>
-     <fieldName>id</fieldName>
+    <name>index_queueids</name>
+    <fieldName>queue_name</fieldName>
+    <fieldName>weight</fieldName>
+    <fieldName>id</fieldName>
   </index>
 </table>