Progress on form to define number of leader/helper groups
This commit is contained in:
@@ -180,6 +180,49 @@ function booking_update_7203() {
|
||||
db_create_table('booking_studygroup_list', $booking_studygroup_list);
|
||||
db_create_table('booking_studygroup_mapping', $booking_studygroup_mapping);
|
||||
db_create_table('booking_leadhelp_list', $booking_leadhelp_list);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pre-populate the study group sessions table
|
||||
*/
|
||||
function booking_update_7204() {
|
||||
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Monday',
|
||||
))
|
||||
->execute();
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Tuesday',
|
||||
))
|
||||
->execute();
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Wednesday',
|
||||
))
|
||||
->execute();
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Thursday',
|
||||
))
|
||||
->execute();
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Friday',
|
||||
))
|
||||
->execute();
|
||||
$result = db_insert('booking_studygroup_list')
|
||||
->fields(array(
|
||||
'booking_eventid' => 2,
|
||||
'booking_studygroup_descrip' => 'Saturday',
|
||||
))
|
||||
->execute();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user