Add comment field and tweak email logging

This commit is contained in:
2015-09-17 09:44:47 +10:00
parent 512366deb9
commit 270dd5b43f
5 changed files with 60 additions and 20 deletions

View File

@@ -515,6 +515,14 @@ function booking_update_7230() {
db_add_field('booking_person', 'booking_dependant_children', $spec);
}
/**
* Add comment field to registration record
*/
function booking_update_7231() {
$spec = array('type' => 'varchar', 'length' => '1000', 'not null' => FALSE);
db_add_field('booking_person', 'booking_comment_field', $spec);
}
/**
* Implementation of hook_install().
*/
@@ -600,6 +608,7 @@ function booking_schema() {
'booking_dietary' => array('type' => 'varchar', 'length' => '200', 'not null' => FALSE),
'booking_medical_conditions' => array('type' => 'varchar', 'length' => '1000', 'not null' => FALSE),
'booking_random_facts' => array('type' => 'varchar', 'length' => '1000', 'not null' => FALSE),
'booking_comment_field' => array('type' => 'varchar', 'length' => '1000', 'not null' => FALSE),
//address details
'booking_street' => array('type' => 'varchar', 'length' => '100', 'not null' => FALSE),