db update to handle stripe response size

This commit is contained in:
Nathan Coad
2016-07-23 11:16:27 +10:00
parent 51bdc6da2f
commit b0fca9b101

View File

@@ -615,6 +615,16 @@ function booking_update_7240() {
_booking_node_create_mysqlview();
}
/**
* Change stripe token field to store stripe charge response as JSON
*/
function booking_update_7241() {
$spec = array('type' => 'varchar', 'length' => '50000', 'not null' => FALSE);
db_change_field('booking_payment', 'booking_stripe_token', 'booking_stripe_response', $spec);
//update the view to match the new table definition
_booking_node_create_mysqlview();
}
/**
* Implementation of hook_install().
*/