function sms_schema in SMS Framework 7
Same name and namespace in other branches
- 6.2 sms.install \sms_schema()
Implements hook_schema().
File
- ./
sms.install, line 11 - Install, update, and uninstall functions for the smsframework module.
Code
function sms_schema() {
$schema['sms_carriers'] = array(
'fields' => array(
'name' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => 64,
),
'domain' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => 128,
),
),
'primary key' => array(
'domain',
),
);
return $schema;
}