Merge pull request #19291 from eileenmcnaughton/prof
[civicrm-core.git] / xml / schema / Friend / Friend.xml
CommitLineData
3c7d2158 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>
8f069c03 9 <name>id</name>
f3ea5182 10 <title>Friend ID</title>
8f069c03
EM
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Friend ID</comment>
14 <add>2.0</add>
3c7d2158 15 </field>
16 <primaryKey>
8f069c03
EM
17 <name>id</name>
18 <autoincrement>true</autoincrement>
3c7d2158 19 </primaryKey>
6a488035 20 <field>
8f069c03 21 <name>entity_table</name>
f3ea5182 22 <title>Entity Table</title>
8f069c03
EM
23 <type>varchar</type>
24 <length>64</length>
25 <required>true</required>
26 <comment>Name of table where item being referenced is stored.</comment>
27 <add>2.0</add>
6a488035
TO
28 </field>
29 <field>
8f069c03 30 <name>entity_id</name>
f3ea5182 31 <title>Entity ID</title>
8f069c03
EM
32 <type>int unsigned</type>
33 <required>true</required>
34 <comment>Foreign key to the referenced item.</comment>
35 <add>2.0</add>
71e5aa5c
ARW
36 </field>
37 <dynamicForeignKey>
8f069c03
EM
38 <idColumn>entity_id</idColumn>
39 <typeColumn>entity_table</typeColumn>
40 <add>2.0</add>
71e5aa5c
ARW
41 </dynamicForeignKey>
42 <field>
8f069c03 43 <name>title</name>
f3ea5182 44 <title>Title</title>
8f069c03
EM
45 <type>varchar</type>
46 <length>255</length>
47 <localizable>true</localizable>
48 <html>
49 <type>Text</type>
50 </html>
51 <add>2.0</add>
6a488035 52 </field>
3c7d2158 53 <field>
8f069c03 54 <name>intro</name>
f3ea5182 55 <title>Intro</title>
8f069c03
EM
56 <type>text</type>
57 <localizable>true</localizable>
58 <comment>Introductory message to contributor or participant displayed on the Tell a Friend form.</comment>
59 <html>
60 <type>Text</type>
61 </html>
62 <add>2.0</add>
6a488035 63 </field>
3c7d2158 64 <field>
8f069c03 65 <name>suggested_message</name>
f3ea5182 66 <title>Suggested Message</title>
8f069c03
EM
67 <type>text</type>
68 <localizable>true</localizable>
69 <comment>Suggested message to friends, provided as default on the Tell A Friend form.</comment>
70 <html>
71 <type>Text</type>
72 </html>
73 <add>2.0</add>
3c7d2158 74 </field>
75 <field>
8f069c03 76 <name>general_link</name>
f3ea5182 77 <title>General Link</title>
8f069c03
EM
78 <type>varchar</type>
79 <length>255</length>
80 <import>true</import>
81 <comment>URL for general info about the organization - included in the email sent to friends.</comment>
82 <html>
83 <type>Text</type>
84 </html>
85 <add>2.0</add>
6a488035 86 </field>
3c7d2158 87 <field>
8f069c03 88 <name>thankyou_title</name>
f3ea5182 89 <title>Thank You Title</title>
8f069c03
EM
90 <type>varchar</type>
91 <length>255</length>
92 <localizable>true</localizable>
93 <comment>Text for Tell a Friend thank you page header and HTML title.</comment>
94 <html>
95 <type>Text</type>
96 </html>
97 <add>2.0</add>
3c7d2158 98 </field>
99 <field>
8f069c03 100 <name>thankyou_text</name>
f3ea5182 101 <title>Thank You Text</title>
8f069c03
EM
102 <type>text</type>
103 <localizable>true</localizable>
104 <comment>Thank you message displayed on success page.</comment>
105 <add>2.0</add>
106 <html>
107 <type>Text</type>
108 </html>
3c7d2158 109 </field>
110 <field>
111 <name>is_active</name>
f3ea5182 112 <title>Enabled?</title>
3c7d2158 113 <type>boolean</type>
114 <add>2.0</add>
614d72ec 115 <html>
116 <type>CheckBox</type>
117 </html>
3c7d2158 118 </field>
6a488035 119</table>