update mysql view for variety session registration ids
This commit is contained in:
@@ -791,6 +791,13 @@ function booking_update_7254() {
|
||||
db_rename_table('booking_variety_options', 'booking_variety_sessions');
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix incorrect field name in booking_variety_regn table
|
||||
*/
|
||||
function booking_update_7255() {
|
||||
$spec = array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10');
|
||||
db_change_field('booking_variety_regn', 'booking_node_id', 'booking_person_nid', $spec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_install().
|
||||
@@ -1087,7 +1094,7 @@ function booking_schema() {
|
||||
'fields' => array(
|
||||
'rid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_variety_ids' => array('type' => 'varchar', 'length' => '1000', 'not null' => TRUE),
|
||||
'booking_node_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_person_nid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
),
|
||||
'primary key' => array('rid'),
|
||||
);
|
||||
|
Reference in New Issue
Block a user