From cc7d8680f3b1bc88b7cd9b82a7f0f3e80f5c8aa3 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 23 Jul 2016 11:20:14 +1000 Subject: [PATCH] change db type from varchar to text --- booking.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.install b/booking.install index 5312d29..eb19f63 100644 --- a/booking.install +++ b/booking.install @@ -619,7 +619,7 @@ function booking_update_7240() { * Change stripe token field to store stripe charge response as JSON */ function booking_update_7241() { - $spec = array('type' => 'varchar', 'length' => '50000', 'not null' => FALSE); + $spec = array('type' => 'text', '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();