change db type from varchar to text

This commit is contained in:
Nathan Coad
2016-07-23 11:20:14 +10:00
parent ef938eb58f
commit cc7d8680f3

View File

@@ -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();