Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 2d82d15730
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 0.644 kB
<?php
/**
* Implements hook_schema().
*/
function gone_schema() {
$schema['gone'] = array(
'description' => 'The base table for nodes.',
'fields' => array(
'nid' => array(
'description' => 'The primary identifier for a node.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE),
'status' => array(
'description' => 'Whether or not this node should be identifed as Gone with a 410 HTTP error.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0),
),
'primary key' => array('nid'),
);
return $schema;
}
Jump to Line
Something went wrong with that request. Please try again.