Commit | Line | Data |
---|---|---|
6a488035 TO |
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> | |
11 | <name>id</name> | |
12 | <type>int unsigned</type> | |
13 | <required>true</required> | |
14 | <comment>SMS History ID</comment> | |
15 | <add>1.4</add> | |
16 | </field> | |
17 | <primaryKey> | |
18 | <name>id</name> | |
19 | <autoincrement>true</autoincrement> | |
20 | </primaryKey> | |
21 | <field> | |
22 | <name>message</name> | |
23 | <type>text</type> | |
24 | <comment>Contents of the SMS.</comment> | |
7deea513 | 25 | <html> |
26 | <type>TextArea</type> | |
817807ab | 27 | <rows>5</rows> |
28 | <cols>80</cols> | |
7deea513 | 29 | </html> |
6a488035 TO |
30 | <add>1.4</add> |
31 | </field> | |
32 | <field> | |
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 | </field> | |
39 | <foreignKey> | |
40 | <name>contact_id</name> | |
41 | <table>civicrm_contact</table> | |
42 | <key>id</key> | |
43 | <add>1.4</add> | |
44 | </foreignKey> | |
45 | <field> | |
46 | <name>sent_date</name> | |
47 | <type>date</type> | |
48 | <comment>When was this SMS sent</comment> | |
49 | <add>1.4</add> | |
50 | </field> | |
51 | </table> |