| 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 | |
| 3 | <table> |
| 4 | <base>CRM/Friend</base> |
| 5 | <class>Friend</class> |
| 6 | <name>civicrm_tell_friend</name> |
| 7 | <add>2.0</add> |
| 8 | <field> |
| 9 | <name>id</name> |
| 10 | <type>int unsigned</type> |
| 11 | <required>true</required> |
| 12 | <comment>Friend ID</comment> |
| 13 | <add>2.0</add> |
| 14 | </field> |
| 15 | <primaryKey> |
| 16 | <name>id</name> |
| 17 | <autoincrement>true</autoincrement> |
| 18 | </primaryKey> |
| 19 | <field> |
| 20 | <name>entity_table</name> |
| 21 | <type>varchar</type> |
| 22 | <length>64</length> |
| 23 | <required>true</required> |
| 24 | <comment>Name of table where item being referenced is stored.</comment> |
| 25 | <add>2.0</add> |
| 26 | </field> |
| 27 | <field> |
| 28 | <name>entity_id</name> |
| 29 | <type>int unsigned</type> |
| 30 | <required>true</required> |
| 31 | <comment>Foreign key to the referenced item.</comment> |
| 32 | <add>2.0</add> |
| 33 | </field> |
| 34 | <dynamicForeignKey> |
| 35 | <idColumn>entity_id</idColumn> |
| 36 | <typeColumn>entity_table</typeColumn> |
| 37 | <add>2.0</add> |
| 38 | </dynamicForeignKey> |
| 39 | <field> |
| 40 | <name>title</name> |
| 41 | <type>varchar</type> |
| 42 | <length>255</length> |
| 43 | <localizable>true</localizable> |
| 44 | <html> |
| 45 | <type>Text</type> |
| 46 | </html> |
| 47 | <add>2.0</add> |
| 48 | </field> |
| 49 | <field> |
| 50 | <name>intro</name> |
| 51 | <type>text</type> |
| 52 | <localizable>true</localizable> |
| 53 | <comment>Introductory message to contributor or participant displayed on the Tell a Friend form.</comment> |
| 54 | <html> |
| 55 | <type>Text</type> |
| 56 | </html> |
| 57 | <add>2.0</add> |
| 58 | </field> |
| 59 | <field> |
| 60 | <name>suggested_message</name> |
| 61 | <type>text</type> |
| 62 | <localizable>true</localizable> |
| 63 | <comment>Suggested message to friends, provided as default on the Tell A Friend form.</comment> |
| 64 | <html> |
| 65 | <type>Text</type> |
| 66 | </html> |
| 67 | <add>2.0</add> |
| 68 | </field> |
| 69 | <field> |
| 70 | <name>general_link</name> |
| 71 | <type>varchar</type> |
| 72 | <length>255</length> |
| 73 | <import>true</import> |
| 74 | <comment>URL for general info about the organization - included in the email sent to friends.</comment> |
| 75 | <html> |
| 76 | <type>Text</type> |
| 77 | </html> |
| 78 | <add>2.0</add> |
| 79 | </field> |
| 80 | <field> |
| 81 | <name>thankyou_title</name> |
| 82 | <type>varchar</type> |
| 83 | <length>255</length> |
| 84 | <localizable>true</localizable> |
| 85 | <comment>Text for Tell a Friend thank you page header and HTML title.</comment> |
| 86 | <html> |
| 87 | <type>Text</type> |
| 88 | </html> |
| 89 | <add>2.0</add> |
| 90 | </field> |
| 91 | <field> |
| 92 | <name>thankyou_text</name> |
| 93 | <type>text</type> |
| 94 | <localizable>true</localizable> |
| 95 | <comment>Thank you message displayed on success page.</comment> |
| 96 | <add>2.0</add> |
| 97 | <html> |
| 98 | <type>Text</type> |
| 99 | </html> |
| 100 | </field> |
| 101 | <field> |
| 102 | <name>is_active</name> |
| 103 | <type>boolean</type> |
| 104 | <add>2.0</add> |
| 105 | <html> |
| 106 | <type>CheckBox</type> |
| 107 | </html> |
| 108 | </field> |
| 109 | </table> |