1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contribute
</base>
5 <class>ContributionSoft
</class>
6 <name>civicrm_contribution_soft
</name>
11 <uniqueName>contribution_soft_id
</uniqueName>
12 <type>int unsigned
</type>
13 <required>true
</required>
15 <title>Soft Contribution ID
</title>
16 <comment>Soft Contribution ID
</comment>
21 <autoincrement>true
</autoincrement>
24 <name>contribution_id
</name>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>FK to contribution table.
</comment>
31 <name>contribution_id
</name>
32 <table>civicrm_contribution
</table>
35 <onDelete>CASCADE
</onDelete>
38 <name>contact_id
</name>
39 <uniqueName>contribution_soft_contact_id
</uniqueName>
40 <title>Contact ID
</title>
41 <type>int unsigned
</type>
42 <required>true
</required>
44 <headerPattern>/contact(.?id)?/i
</headerPattern>
45 <dataPattern>/^\d+$/
</dataPattern>
46 <comment>FK to Contact ID
</comment>
50 <name>contact_id
</name>
51 <table>civicrm_contact
</table>
54 <onDelete>CASCADE
</onDelete>
59 <required>true
</required>
61 <headerPattern>/total(.?am(ou)?nt)?/i
</headerPattern>
62 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
63 <comment>Amount of this soft contribution.
</comment>
70 <default>NULL
</default>
71 <comment>3 character string, value from config setting or input via user.
</comment>
76 <type>int unsigned
</type>
77 <default>NULL
</default>
78 <comment>FK to civicrm_pcp.id
</comment>
83 <table>civicrm_pcp
</table>
86 <onDelete>SET NULL
</onDelete>
90 <fieldName>pcp_id
</fieldName>
94 <name>pcp_display_in_roll
</name>
100 <name>pcp_roll_nickname
</name>
103 <default>NULL
</default>
107 <name>pcp_personal_note
</name>
110 <default>NULL
</default>