add QR code and change import csv page

This commit is contained in:
Nathan Coad
2018-06-22 17:15:29 +10:00
parent 8d83e08419
commit 94cf7b89b5
3 changed files with 41 additions and 32 deletions

View File

@@ -811,6 +811,17 @@ function booking_update_7256() {
_booking_node_create_mysqlview();
}
/**
* Add field to store URL to QR code
*/
function booking_update_7257() {
$spec = array('type' => 'varchar', 'length' => '500', 'not null' => FALSE);
db_add_field('booking_person', 'booking_qrcode_url', $spec);
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
/**
* Implementation of hook_install().
*/