Commit | Line | Data |
---|---|---|
75cdad69 | 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/SMS</base> | |
5 | <class>History</class> | |
6 | <name>civicrm_sms_history</name> | |
7 | <comment>SMS History can be linked to any object in the application.</comment> | |
8 | <add>1.4</add> | |
9 | <drop>2.0</drop> | |
10 | <field> | |
5435b737 EM |
11 | <name>id</name> |
12 | <type>int unsigned</type> | |
13 | <required>true</required> | |
14 | <comment>SMS History ID</comment> | |
15 | <add>1.4</add> | |
75cdad69 | 16 | </field> |
17 | <primaryKey> | |
5435b737 EM |
18 | <name>id</name> |
19 | <autoincrement>true</autoincrement> | |
75cdad69 | 20 | </primaryKey> |
21 | <field> | |
5435b737 EM |
22 | <name>message</name> |
23 | <type>text</type> | |
24 | <comment>Contents of the SMS.</comment> | |
25 | <html> | |
26 | <type>TextArea</type> | |
27 | <rows>5</rows> | |
28 | <cols>80</cols> | |
29 | </html> | |
30 | <add>1.4</add> | |
75cdad69 | 31 | </field> |
32 | <field> | |
5435b737 EM |
33 | <name>contact_id</name> |
34 | <type>int unsigned</type> | |
35 | <required>true</required> | |
36 | <comment>FK to Contact who is sending this SMS</comment> | |
37 | <add>1.4</add> | |
38 | <html> | |
39 | <type>Autocomplete-Select</type> | |
40 | </html> | |
75cdad69 | 41 | </field> |
42 | <foreignKey> | |
5435b737 EM |
43 | <name>contact_id</name> |
44 | <table>civicrm_contact</table> | |
45 | <key>id</key> | |
46 | <add>1.4</add> | |
75cdad69 | 47 | </foreignKey> |
48 | <field> | |
5435b737 EM |
49 | <name>sent_date</name> |
50 | <type>date</type> | |
51 | <comment>When was this SMS sent</comment> | |
52 | <add>1.4</add> | |
75cdad69 | 53 | </field> |
54 | </table> |