CRM-15168 whitespace only
[civicrm-core.git] / xml / schema / SMS / Provider.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/SMS</base>
5 <class>Provider</class>
6 <name>civicrm_sms_provider</name>
7 <comment>Table to add different sms providers </comment>
8 <add>4.2</add>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>SMS Provider ID</comment>
14 <add>4.2</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>name</name>
22 <type>varchar</type>
23 <length>64</length>
24 <comment>Provider internal name points to option_value of option_group sms_provider_name</comment>
25 <add>4.2</add>
26 </field>
27 <field>
28 <name>title</name>
29 <type>varchar</type>
30 <length>64</length>
31 <comment>Provider name visible to user</comment>
32 <html>
33 <type>Text</type>
34 </html>
35 <add>4.2</add>
36 </field>
37 <field>
38 <name>username</name>
39 <type>varchar</type>
40 <length>255</length>
41 <html>
42 <type>Text</type>
43 </html>
44 <add>4.2</add>
45 </field>
46 <field>
47 <name>password</name>
48 <type>varchar</type>
49 <length>255</length>
50 <html>
51 <type>Text</type>
52 </html>
53 <add>4.2</add>
54 </field>
55 <field>
56 <name>api_type</name>
57 <type>int unsigned</type>
58 <required>true</required>
59 <comment>points to value in civicrm_option_value for group sms_api_type</comment>
60 <html>
61 <type>Select</type>
62 </html>
63 <add>4.2</add>
64 </field>
65 <field>
66 <name>api_url</name>
67 <type>varchar</type>
68 <length>128</length>
69 <html>
70 <type>Text</type>
71 </html>
72 <add>4.2</add>
73 </field>
74 <field>
75 <name>api_params</name>
76 <type>text</type>
77 <comment>the api params in xml, http or smtp format</comment>
78 <html>
79 <type>Text</type>
80 </html>
81 <add>4.2</add>
82 </field>
83 <field>
84 <name>is_default</name>
85 <type>boolean</type>
86 <default>0</default>
87 <add>4.2</add>
88 <html>
89 <type>CheckBox</type>
90 </html>
91 </field>
92 <field>
93 <name>is_active</name>
94 <type>boolean</type>
95 <default>0</default>
96 <add>4.2</add>
97 <html>
98 <type>CheckBox</type>
99 </html>
100 </field>
101 </table>