function supersized_schema in Supersized 7
Same name and namespace in other branches
- 8 supersized.install \supersized_schema()
Implements hook_schema().
1 call to supersized_schema()
- supersized_update_7001 in ./
supersized.install - Create new database table {supersized}.
File
- ./
supersized.install, line 11 - Install, update and uninstall functions for Supersized module.
Code
function supersized_schema() {
$schema['supersized'] = array(
'description' => 'The table to hold settings of individual node',
'fields' => array(
'nid' => array(
'description' => 'Node ID',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'settings' => array(
'description' => 'Serpersized configuration',
'type' => 'blob',
'not null' => TRUE,
),
),
'indexes' => array(
'nid' => array(
'nid',
),
),
);
return $schema;
}