function domain_source_schema in Domain Access 6.2
Same name and namespace in other branches
- 7.3 domain_source/domain_source.install \domain_source_schema()
- 7.2 domain_source/domain_source.install \domain_source_schema()
Implement hook_schema()
File
- domain_source/
domain_source.install, line 18 - Install file for the Domain Source module
Code
function domain_source_schema() {
$schema['domain_source'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'domain_id' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'nid',
),
);
return $schema;
}