function captcha_schema in CAPTCHA 6
Same name and namespace in other branches
- 8 captcha.install \captcha_schema()
- 6.2 captcha.install \captcha_schema()
- 7 captcha.install \captcha_schema()
Implementation of hook_schema().
File
- ./
captcha.install, line 6
Code
function captcha_schema() {
$schema['captcha_points'] = array(
'fields' => array(
'form_id' => array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
),
'module' => array(
'type' => 'varchar',
'length' => 64,
),
'type' => array(
'type' => 'varchar',
'length' => 64,
),
),
'primary key' => array(
'form_id',
),
);
return $schema;
}