db update to handle stripe response size
This commit is contained in:
@@ -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().
|
||||
*/
|
||||
|
Reference in New Issue
Block a user