function authcache_example_schema in Authenticated User Page Caching (Authcache) 6
Same name and namespace in other branches
- 7 modules/authcache_example/authcache_example.install \authcache_example_schema()
Implementation of hook_schema().
File
- modules/
authcache_example/ authcache_example.install, line 6
Code
function authcache_example_schema() {
$schema['authcache_example'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'disp-width' => '10',
),
'block_text' => array(
'type' => 'text',
'not null' => TRUE,
),
),
'primary key' => array(
'uid',
),
);
return $schema;
}