authcache_example.install in Authenticated User Page Caching (Authcache) 7
File
modules/authcache_example/authcache_example.install
View source
<?php
function authcache_example_schema() {
$schema['authcache_example'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'description' => "Creator user's {users}.uid",
),
'block_text' => array(
'type' => 'text',
'not null' => TRUE,
'description' => 'block_text',
),
),
'primary key' => array(
'uid',
),
);
return $schema;
}
function authcache_example_enable() {
}
function authcache_example_disable() {
}
function authcache_example_install() {
drupal_install_schema('authcache_example');
}
function authcache_example_uninstall() {
drupal_uninstall_schema('authcache_example');
}