| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
/**
|
| 4 |
* Implementation of hook_schema().
|
| 5 |
*/
|
| 6 |
function refresh_schema()
|
| 7 |
{
|
| 8 |
$schema['node_refresh'] = array(
|
| 9 |
'description' => 'Data store for the refresh module.',
|
| 10 |
'fields' => array('nid' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'unsigned' => TRUE),
|
| 11 |
'vid' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'unsigned' => TRUE),
|
| 12 |
'seconds' => array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'unsigned' => TRUE),
|
| 13 |
),
|
| 14 |
'primary key' => array('nid', 'vid'),
|
| 15 |
);
|
| 16 |
return $schema;
|
| 17 |
} |