function w3c_validator_schema in W3C Validator 6
Same name and namespace in other branches
- 8 w3c_validator.install \w3c_validator_schema()
- 7 w3c_validator.install \w3c_validator_schema()
Implementation of hook_schema().
File
- ./
w3c_validator.install, line 20
Code
function w3c_validator_schema() {
$schema = array();
$schema['validator_access_tokens'] = array(
'fields' => array(
'id' => array(
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
'disp-width' => '11',
),
'token' => array(
'type' => 'varchar',
'length' => '32',
'not null' => FALSE,
),
'timestamp' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
'disp-width' => '11',
),
'rand' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
'disp-width' => '11',
),
'uid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
'disp-width' => '11',
),
),
'primary key' => array(
'id',
),
);
return $schema;
}