/[drupal]/contributions/modules/refresh/refresh.schema
ViewVC logotype

Contents of /contributions/modules/refresh/refresh.schema

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Oct 11 21:38:12 2007 UTC (2 years, 1 month ago) by karna
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +1 -0 lines
karna: made hook_node_api compatible with core 6.x
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 }

  ViewVC Help
Powered by ViewVC 1.1.2