add song choice

This commit is contained in:
2017-08-18 10:24:45 +10:00
parent 9294e17e3f
commit e324071ad9
3 changed files with 22 additions and 1 deletions

View File

@@ -708,6 +708,16 @@ function booking_update_7246() {
}
*/
/**
* Add field for attendee's music choice
*/
function booking_update_7247() {
$spec = array('type' => 'varchar', 'length' => '500', 'not null' => FALSE);
db_add_field('booking_person', 'booking_song_choice', $spec);
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
/**
* Implementation of hook_install().
*/