Merge pull request #19564 from civicrm/5.35
[civicrm-core.git] / xml / schema / SMS / History.xml
CommitLineData
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>
17 </html>
5435b737 18 <add>1.4</add>
75cdad69 19 </field>
20 <primaryKey>
5435b737
EM
21 <name>id</name>
22 <autoincrement>true</autoincrement>
75cdad69 23 </primaryKey>
24 <field>
5435b737
EM
25 <name>message</name>
26 <type>text</type>
27 <comment>Contents of the SMS.</comment>
28 <html>
29 <type>TextArea</type>
30 <rows>5</rows>
31 <cols>80</cols>
32 </html>
33 <add>1.4</add>
75cdad69 34 </field>
35 <field>
5435b737 36 <name>contact_id</name>
57e94608 37 <title>Contact ID</title>
5435b737
EM
38 <type>int unsigned</type>
39 <required>true</required>
40 <comment>FK to Contact who is sending this SMS</comment>
41 <add>1.4</add>
42 <html>
916b6181 43 <type>EntityRef</type>
57e94608 44 <label>Contact</label>
5435b737 45 </html>
75cdad69 46 </field>
47 <foreignKey>
5435b737
EM
48 <name>contact_id</name>
49 <table>civicrm_contact</table>
50 <key>id</key>
51 <add>1.4</add>
75cdad69 52 </foreignKey>
53 <field>
5435b737
EM
54 <name>sent_date</name>
55 <type>date</type>
56 <comment>When was this SMS sent</comment>
57 <add>1.4</add>
75cdad69 58 </field>
59</table>