<comment>Table to add different sms providers </comment>
<add>4.2</add>
<field>
- <name>id</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>SMS Provider ID</comment>
- <add>4.2</add>
+ <name>id</name>
+ <title>SMS Provider ID</title>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>SMS Provider ID</comment>
+ <add>4.2</add>
</field>
<primaryKey>
- <name>id</name>
- <autoincrement>true</autoincrement>
+ <name>id</name>
+ <autoincrement>true</autoincrement>
</primaryKey>
<field>
- <name>name</name>
- <type>varchar</type>
- <length>64</length>
- <comment>Provider internal name points to option_value of option_group sms_provider_name</comment>
- <add>4.2</add>
+ <name>name</name>
+ <title>SMS Provider Name</title>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>Provider internal name points to option_value of option_group sms_provider_name</comment>
+ <add>4.2</add>
</field>
<field>
- <name>title</name>
- <type>varchar</type>
- <length>64</length>
- <comment>Provider name visible to user</comment>
- <html>
- <type>Text</type>
- </html>
- <add>4.2</add>
+ <name>title</name>
+ <title>SMS Provider Title</title>
+ <type>varchar</type>
+ <length>64</length>
+ <comment>Provider name visible to user</comment>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>4.2</add>
</field>
<field>
- <name>username</name>
- <type>varchar</type>
- <length>255</length>
- <html>
- <type>Text</type>
- </html>
- <add>4.2</add>
+ <name>username</name>
+ <title>SMS Provider Username</title>
+ <type>varchar</type>
+ <length>255</length>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>4.2</add>
</field>
<field>
- <name>password</name>
- <type>varchar</type>
- <length>255</length>
- <html>
- <type>Text</type>
- </html>
- <add>4.2</add>
+ <name>password</name>
+ <title>SMS Provider Password</title>
+ <type>varchar</type>
+ <length>255</length>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>4.2</add>
</field>
<field>
- <name>api_type</name>
- <type>int unsigned</type>
- <required>true</required>
- <comment>points to value in civicrm_option_value for group sms_api_type</comment>
- <html>
- <type>Select</type>
- </html>
- <add>4.2</add>
+ <name>api_type</name>
+ <title>SMS Provider API</title>
+ <type>int unsigned</type>
+ <required>true</required>
+ <comment>points to value in civicrm_option_value for group sms_api_type</comment>
+ <html>
+ <type>Select</type>
+ </html>
+ <add>4.2</add>
</field>
<field>
- <name>api_url</name>
- <type>varchar</type>
- <length>128</length>
- <html>
- <type>Text</type>
- </html>
- <add>4.2</add>
+ <name>api_url</name>
+ <title>SMS Provider API URL</title>
+ <type>varchar</type>
+ <length>128</length>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>4.2</add>
</field>
<field>
- <name>api_params</name>
- <type>text</type>
- <comment>the api params in xml, http or smtp format</comment>
- <html>
- <type>Text</type>
- </html>
- <add>4.2</add>
+ <name>api_params</name>
+ <title>SMS Provider API Params</title>
+ <type>text</type>
+ <comment>the api params in xml, http or smtp format</comment>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>4.2</add>
</field>
- <field>
- <name>is_default</name>
- <type>boolean</type>
- <default>0</default>
- <add>4.2</add>
- <html>
- <type>CheckBox</type>
- </html>
+ <field>
+ <name>is_default</name>
+ <title>SMS Provider is Default?</title>
+ <type>boolean</type>
+ <default>0</default>
+ <add>4.2</add>
+ <html>
+ <type>CheckBox</type>
+ </html>
</field>
- <field>
- <name>is_active</name>
- <type>boolean</type>
- <default>0</default>
- <add>4.2</add>
- <html>
- <type>CheckBox</type>
- </html>
+ <field>
+ <name>is_active</name>
+ <title>SMS Provider is Active?</title>
+ <type>boolean</type>
+ <default>0</default>
+ <add>4.2</add>
+ <html>
+ <type>CheckBox</type>
+ </html>
</field>
</table>