change db type from varchar to text
This commit is contained in:
@@ -619,7 +619,7 @@ function booking_update_7240() {
|
|||||||
* Change stripe token field to store stripe charge response as JSON
|
* Change stripe token field to store stripe charge response as JSON
|
||||||
*/
|
*/
|
||||||
function booking_update_7241() {
|
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);
|
db_change_field('booking_payment', 'booking_stripe_token', 'booking_stripe_response', $spec);
|
||||||
//update the view to match the new table definition
|
//update the view to match the new table definition
|
||||||
_booking_node_create_mysqlview();
|
_booking_node_create_mysqlview();
|
||||||
|
Reference in New Issue
Block a user