Update to 6.x-1.10 fails on update.php

haffmans - November 8, 2009 - 12:25
Project:Contact Forms
Version:6.x-1.10
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Installing 6.x-1.10 and running update.php (or drush updatedb) gives the following SQL query (MySQL):

ALTER TABLE {contact} ADD `page_info`  DEFAULT NULL

The cause is this line in the install file (update 6100):

<?php
db_add_field
($ret, 'contact', 'page_info', array('type' => 'test', 'not null' => FALSE));
?>

Note that it has type test instead of type text.

Related to issue #625066.

#1

behindthepage - November 8, 2009 - 12:35
Status:active» fixed

#2

behindthepage - November 9, 2009 - 06:43
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.