function hosting_dns_schema in Hostmaster (Aegir) 6
Implementation of hook_schema().
File
- modules/
hosting/ dns/ hosting_dns.install, line 10 - Install, update and uninstall for the dns module.
Code
function hosting_dns_schema() {
return array(
'hosting_dns_slaves' => array(
'fields' => array(
'master_vid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'master_nid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'slave_nid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'master_vid',
'master_nid',
),
),
);
}