diff --git a/booking.install b/booking.install index 7b8305e..5312d29 100644 --- a/booking.install +++ b/booking.install @@ -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(). */