Changed CSV report to include study group session data

This commit is contained in:
2014-01-30 23:16:38 +11:00
parent 50dae61740
commit 86aea0ee49
6 changed files with 42 additions and 10 deletions

View File

@@ -250,10 +250,19 @@ function booking_update_7206() {
/**
* Add field to support welfare required flag
*
*function booking_update_7207() {
* $spec = array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE);
* db_add_field( 'booking_person', 'booking_welfare_required', $spec);
*}
*/
function booking_update_7207() {
$spec = array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE);
db_add_field( 'booking_person', 'booking_welfare_required', $spec);
/**
* Update definition for welfare required flag
*/
function booking_update_7208() {
$spec = array('type' => 'varchar', 'length' => '1', 'not null' => FALSE, 'default' => 'N');
db_change_field('booking_person', 'booking_welfare_required', 'booking_welfare_required', $spec);
}
/**
@@ -361,7 +370,7 @@ function booking_schema() {
'booking_tempid' => array('type' => 'varchar', 'length' => '40', 'not null' => FALSE),
'booking_timestamp' => array('type' => 'int', 'not null' => TRUE, 'disp-width' => '11'),
'booking_status' => array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE),
'booking_welfare_required' => array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE),
'booking_welfare_required' => array('type' => 'varchar', 'length' => '1', 'not null' => FALSE, 'default' => 'N'),
'booking_barcode' => array('type' => 'varchar', 'length' => '8', 'not null' => FALSE),
'booking_firstname' => array('type' => 'varchar', 'length' => '50', 'not null' => TRUE),
'booking_lastname' => array('type' => 'varchar', 'length' => '50', 'not null' => TRUE),