function recaptcha_v3_schema in reCAPTCHA v3 7
Implementation of hook_schema().
File
- ./
recaptcha_v3.install, line 21 - Installation file for reCAPTCHA v3 module.
Code
function recaptcha_v3_schema() {
$schema['recaptcha_v3_actions'] = array(
'description' => 'This table describes recaptcha v3 actions.',
'fields' => array(
'id' => array(
'description' => 'The recapcha v3 action.',
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
'action' => array(
'description' => 'The reaptcha v3 action.',
'type' => 'varchar',
'not null' => TRUE,
'length' => 128,
'default' => '',
),
'score' => array(
'description' => 'Score threshold to verify as user.',
'type' => 'int',
'not null' => TRUE,
'default' => 5,
),
'challenge' => array(
'description' => 'The recapcha v3 action.',
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'id',
),
);
return $schema;
}