Add comment field and tweak email logging
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user