fix update

This commit is contained in:
Nathan Coad
2018-01-29 17:38:24 +11:00
parent e083fdaaca
commit 2a5fce9dc4
2 changed files with 11 additions and 11 deletions

View File

@@ -760,16 +760,6 @@ function booking_update_7250() {
}
*/
/**
* Add field to store waiting list position
*/
function booking_update_7251() {
$spec = array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE);
db_add_field('booking_person', 'booking_waitlist_pos', $spec);
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
/**
* Add custom cache table
*/
@@ -781,6 +771,16 @@ function booking_update_7252() {
}
}
/**
* Add field to store waiting list position
*/
function booking_update_7253() {
$spec = array('type' => 'int', 'length' => '11', 'default' => 0, 'not null' => FALSE);
db_add_field('booking_person', 'booking_waitlist_pos', $spec);
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
/**
* Implementation of hook_install().
*/