-<?xml version="1.0" encoding="iso-8859-1" ?>
-
-<table>
- <base>CRM/Contribute</base>
- <class>ContributionSoft</class>
- <name>civicrm_contribution_soft</name>
- <add>2.2</add>
+<?xml version="1.0" encoding="iso-8859-1" ?>
+
+<table>
+ <base>CRM/Contribute</base>
+ <class>ContributionSoft</class>
+ <name>civicrm_contribution_soft</name>
+ <add>2.2</add>
<log>true</log>
- <field>
- <name>id</name>
+ <field>
+ <name>id</name>
<uniqueName>contribution_soft_id</uniqueName>
- <type>int unsigned</type>
+ <type>int unsigned</type>
<required>true</required>
- <import>true</import>
+ <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>
- </primaryKey>
- <field>
- <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>
+ <comment>Soft Contribution ID</comment>
+ <add>2.2</add>
+ </field>
+ <primaryKey>
+ <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>
+ </field>
+ <foreignKey>
+ <name>contribution_id</name>
+ <table>civicrm_contribution</table>
+ <key>id</key>
+ <add>2.2</add>
<onDelete>CASCADE</onDelete>
</foreignKey>
- <field>
- <name>contact_id</name>
+ <field>
+ <name>contact_id</name>
<uniqueName>contribution_soft_contact_id</uniqueName>
<title>Contact ID</title>
- <type>int unsigned</type>
- <required>true</required>
+ <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>
+ <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>
- </foreignKey>
- <field>
- <name>amount</name>
- <type>decimal</type>
+ </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>
+ <comment>Amount of this soft contribution.</comment>
<add>2.2</add>
</field>
<field>
<nameColumn>numeric_code</nameColumn>
</pseudoconstant>
</field>
- <field>
- <name>pcp_id</name>
- <type>int unsigned</type>
+ <field>
+ <name>pcp_id</name>
+ <type>int unsigned</type>
<default>NULL</default>
- <comment>FK to civicrm_pcp.id</comment>
- <add>2.2</add>
- </field>
+ <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>
+ <name>pcp_id</name>
+ <table>civicrm_pcp</table>
+ <key>id</key>
+ <add>3.1</add>
<onDelete>SET NULL</onDelete>
</foreignKey>
<index>
<fieldName>pcp_id</fieldName>
<add>2.2</add>
</index>
- <field>
- <name>pcp_display_in_roll</name>
- <type>boolean</type>
+ <field>
+ <name>pcp_display_in_roll</name>
+ <type>boolean</type>
<default>0</default>
- <add>2.2</add>
- </field>
+ <add>2.2</add>
+ </field>
<field>
<name>pcp_roll_nickname</name>
<type>varchar</type>