mediamosa_node_revision_schema()Implements hook_schema().
sites/all/modules/mediamosa/core/node/revision/mediamosa_node_revision.install.inc, line 54
<?php
function mediamosa_node_revision_schema() {
$schema[mediamosa_node_revision_db::TABLE_NAME] = array(
'description' => t('The history data of our nodes is stored here.'),
'fields' => array(
mediamosa_node_revision_db::NID => array(
'description' => t('The Drupal node id.'),
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
mediamosa_node_revision_db::VID => array(
'description' => t('The Drupal node revision id.'),
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
mediamosa_node_revision_db::REVISION_DATA => array(
'description' => t('The data of the revision, stored as an serialized array.'),
'type' => 'text',
'not null' => TRUE,
),
),
'primary key' => array(mediamosa_app_db::NID, mediamosa_app_db::VID),
);
return $schema;
}
?>