test caching booking form

This commit is contained in:
Nathan Coad
2017-11-25 17:45:35 +11:00
parent 9a720ce93e
commit 0f260a1675
2 changed files with 17 additions and 0 deletions

View File

@@ -760,6 +760,13 @@ function booking_update_7250() {
}
*/
/**
* Add custom cache table
*/
function booking_update_7251() {
$schema['cache_booking'] = drupal_get_schema_unprocessed('system', 'cache');
}
/**
* Implementation of hook_install().
*/
@@ -824,6 +831,10 @@ function booking_disable() {
* Implementation of hook_schema().
*/
function booking_schema() {
//configure our own cache table
$schema['cache_booking'] = drupal_get_schema_unprocessed('system', 'cache');
$schema['booking_person'] = array(
'fields' => array(
//identifiers