function revisioning_scheduler_schema in Revisioning 7
Same name and namespace in other branches
- 8 revisioning_scheduler/revisioning_scheduler.install \revisioning_scheduler_schema()
- 6.3 revisioning_scheduler/revisioning_scheduler.install \revisioning_scheduler_schema()
Implements hook_schema().
File
- revisioning_scheduler/
revisioning_scheduler.install, line 10 - Database schema for Revisioning Scheduler module.
Code
function revisioning_scheduler_schema() {
$schema['revisioning_scheduler'] = array(
'description' => 'The base table for revisions that are scheduled to be published',
'fields' => array(
'revision_vid' => array(
'description' => 'The identifier for this revision',
'type' => 'int',
'not null' => TRUE,
),
'revision_nid' => array(
'description' => 'The primary identifier for this node',
'type' => 'int',
'not null' => TRUE,
),
'revision_uid' => array(
'description' => 'The user who submitted this revision',
'type' => 'int',
'not null' => TRUE,
),
'revision_date' => array(
'description' => 'The date when this revision will be published',
'type' => 'int',
'not null' => TRUE,
),
),
'primary key' => array(
'revision_vid',
),
);
return $schema;
}