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> | |
0481e12c A |
15 | <html> |
16 | <type>Number</type> | |
fd735f54 | 17 | <label>SMS History ID</label> |
0481e12c | 18 | </html> |
5435b737 | 19 | <add>1.4</add> |
75cdad69 | 20 | </field> |
21 | <primaryKey> | |
5435b737 EM |
22 | <name>id</name> |
23 | <autoincrement>true</autoincrement> | |
75cdad69 | 24 | </primaryKey> |
25 | <field> | |
5435b737 EM |
26 | <name>message</name> |
27 | <type>text</type> | |
28 | <comment>Contents of the SMS.</comment> | |
29 | <html> | |
30 | <type>TextArea</type> | |
31 | <rows>5</rows> | |
32 | <cols>80</cols> | |
fd735f54 | 33 | <label>Message</label> |
5435b737 EM |
34 | </html> |
35 | <add>1.4</add> | |
75cdad69 | 36 | </field> |
37 | <field> | |
5435b737 | 38 | <name>contact_id</name> |
57e94608 | 39 | <title>Contact ID</title> |
5435b737 EM |
40 | <type>int unsigned</type> |
41 | <required>true</required> | |
42 | <comment>FK to Contact who is sending this SMS</comment> | |
43 | <add>1.4</add> | |
44 | <html> | |
916b6181 | 45 | <type>EntityRef</type> |
57e94608 | 46 | <label>Contact</label> |
5435b737 | 47 | </html> |
75cdad69 | 48 | </field> |
49 | <foreignKey> | |
5435b737 EM |
50 | <name>contact_id</name> |
51 | <table>civicrm_contact</table> | |
52 | <key>id</key> | |
53 | <add>1.4</add> | |
75cdad69 | 54 | </foreignKey> |
55 | <field> | |
5435b737 EM |
56 | <name>sent_date</name> |
57 | <type>date</type> | |
58 | <comment>When was this SMS sent</comment> | |
1662d426 A |
59 | <html> |
60 | <label>Sent Date</label> | |
61 | </html> | |
5435b737 | 62 | <add>1.4</add> |
75cdad69 | 63 | </field> |
64 | </table> |