Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | <table> | |
3 | <base>CRM/Pledge</base> | |
4 | <class>PledgeBlock</class> | |
5 | <name>civicrm_pledge_block</name> | |
6 | <add>2.1</add> | |
7 | <log>true</log> | |
8 | <field> | |
e244747c EM |
9 | <name>id</name> |
10 | <type>int unsigned</type> | |
11 | <required>true</required> | |
12 | <comment>Pledge ID</comment> | |
13 | <add>2.1</add> | |
6a488035 TO |
14 | </field> |
15 | <primaryKey> | |
e244747c EM |
16 | <name>id</name> |
17 | <autoincrement>true</autoincrement> | |
6a488035 TO |
18 | </primaryKey> |
19 | <field> | |
e244747c EM |
20 | <name>entity_table</name> |
21 | <title>Entity Table</title> | |
22 | <type>varchar</type> | |
23 | <length>64</length> | |
24 | <comment>physical tablename for entity being joined to pledge, e.g. civicrm_contact</comment> | |
25 | <add>2.1</add> | |
6a488035 TO |
26 | </field> |
27 | <field> | |
e244747c EM |
28 | <name>entity_id</name> |
29 | <title>Entity Id</title> | |
30 | <type>int unsigned</type> | |
31 | <required>true</required> | |
32 | <comment>FK to entity table specified in entity_table column.</comment> | |
33 | <add>2.1</add> | |
6a488035 | 34 | </field> |
71e5aa5c | 35 | <dynamicForeignKey> |
e244747c EM |
36 | <idColumn>entity_id</idColumn> |
37 | <typeColumn>entity_table</typeColumn> | |
38 | <add>2.1</add> | |
71e5aa5c | 39 | </dynamicForeignKey> |
6a488035 | 40 | <index> |
e244747c EM |
41 | <name>index_entity</name> |
42 | <fieldName>entity_table</fieldName> | |
43 | <fieldName>entity_id</fieldName> | |
44 | <add>2.1</add> | |
6a488035 TO |
45 | </index> |
46 | <field> | |
e244747c EM |
47 | <name>pledge_frequency_unit</name> |
48 | <title>Pledge Frequency Unit</title> | |
49 | <type>varchar</type> | |
50 | <length>128</length> | |
51 | <comment>Delimited list of supported frequency units</comment> | |
52 | <add>2.1</add> | |
6a488035 | 53 | </field> |
3c7d2158 | 54 | <field> |
e244747c EM |
55 | <name>is_pledge_interval</name> |
56 | <type>boolean</type> | |
57 | <default>0</default> | |
58 | <comment>Is frequency interval exposed on the contribution form.</comment> | |
59 | <add>2.1</add> | |
6a488035 TO |
60 | </field> |
61 | <field> | |
e244747c EM |
62 | <name>max_reminders</name> |
63 | <title>Maximum Number of Reminders</title> | |
64 | <type>int unsigned</type> | |
65 | <default>1</default> | |
66 | <comment>The maximum number of payment reminders to send for any given payment.</comment> | |
67 | <add>2.1</add> | |
6a488035 TO |
68 | </field> |
69 | <field> | |
e244747c EM |
70 | <name>initial_reminder_day</name> |
71 | <title>Initial Reminder Day</title> | |
72 | <type>int unsigned</type> | |
73 | <default>5</default> | |
74 | <comment>Send initial reminder this many days prior to the payment due date.</comment> | |
75 | <add>2.1</add> | |
6a488035 TO |
76 | </field> |
77 | <field> | |
e244747c EM |
78 | <name>additional_reminder_day</name> |
79 | <title>Additional Reminder Days</title> | |
80 | <type>int unsigned</type> | |
81 | <default>5</default> | |
82 | <comment>Send additional reminder this many days after last one sent, up to maximum number of reminders.</comment> | |
83 | <add>2.1</add> | |
6a488035 TO |
84 | </field> |
85 | </table> |