Progress on study group calcs
This commit is contained in:
@@ -146,7 +146,7 @@ function booking_update_7203() {
|
||||
'sid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_eventid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_studygroup_descrip' => array('type' => 'varchar', 'length' => '500', 'not null' => FALSE),
|
||||
'booking_num_group_sessions' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_num_group_sessions' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10', 'default' => 1),
|
||||
),
|
||||
'primary key' => array('sid'),
|
||||
);
|
||||
@@ -236,8 +236,7 @@ function booking_update_7204() {
|
||||
* Add extra field to the study group sessions table
|
||||
*/
|
||||
function booking_update_7205() {
|
||||
$spec = array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10');
|
||||
db_add_field( 'booking_studygroup_list', 'booking_num_group_sessions', $spec);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user