function formdefaults_schema in Form Defaults 8
Same name and namespace in other branches
- 6.2 formdefaults.install \formdefaults_schema()
- 6 formdefaults.install \formdefaults_schema()
- 7 formdefaults.install \formdefaults_schema()
Implementation of hook_schema
Return value
array Schema definition array.
File
- ./
formdefaults.install, line 19 - Installation
Code
function formdefaults_schema() {
$schema['formdefaults_forms'] = array(
'fields' => array(
'formid' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
),
'formdata' => array(
'type' => 'text',
),
),
'primary key' => array(
'formid',
),
);
return $schema;
}