commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / 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 <title>SMS Provider ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>SMS Provider ID</comment>
15 <add>4.2</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>name</name>
23 <title>SMS Provider Name</title>
24 <type>varchar</type>
25 <length>64</length>
26 <comment>Provider internal name points to option_value of option_group sms_provider_name</comment>
27 <add>4.2</add>
28 </field>
29 <field>
30 <name>title</name>
31 <title>SMS Provider Title</title>
32 <type>varchar</type>
33 <length>64</length>
34 <comment>Provider name visible to user</comment>
35 <html>
36 <type>Text</type>
37 </html>
38 <add>4.2</add>
39 </field>
40 <field>
41 <name>username</name>
42 <title>SMS Provider Username</title>
43 <type>varchar</type>
44 <length>255</length>
45 <html>
46 <type>Text</type>
47 </html>
48 <add>4.2</add>
49 </field>
50 <field>
51 <name>password</name>
52 <title>SMS Provider Password</title>
53 <type>varchar</type>
54 <length>255</length>
55 <html>
56 <type>Text</type>
57 </html>
58 <add>4.2</add>
59 </field>
60 <field>
61 <name>api_type</name>
62 <title>SMS Provider API</title>
63 <type>int unsigned</type>
64 <required>true</required>
65 <comment>points to value in civicrm_option_value for group sms_api_type</comment>
66 <html>
67 <type>Select</type>
68 </html>
69 <add>4.2</add>
70 </field>
71 <field>
72 <name>api_url</name>
73 <title>SMS Provider API URL</title>
74 <type>varchar</type>
75 <length>128</length>
76 <html>
77 <type>Text</type>
78 </html>
79 <add>4.2</add>
80 </field>
81 <field>
82 <name>api_params</name>
83 <title>SMS Provider API Params</title>
84 <type>text</type>
85 <comment>the api params in xml, http or smtp format</comment>
86 <html>
87 <type>Text</type>
88 </html>
89 <add>4.2</add>
90 </field>
91 <field>
92 <name>is_default</name>
93 <title>SMS Provider is Default?</title>
94 <type>boolean</type>
95 <default>0</default>
96 <add>4.2</add>
97 <html>
98 <type>CheckBox</type>
99 </html>
100 </field>
101 <field>
102 <name>is_active</name>
103 <title>SMS Provider is Active?</title>
104 <type>boolean</type>
105 <default>0</default>
106 <add>4.2</add>
107 <html>
108 <type>CheckBox</type>
109 </html>
110 </field>
111 </table>