| 1 |
<?php |
<?php |
| 2 |
// $Id: sidecontent.install,v 1.3.2.2 2007/07/03 22:55:25 MegaGrunt Exp $ |
// $Id: sidecontent.install,v 1.4 2009/04/05 01:03:13 MegaGrunt Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Update file for the Sidecontent module. |
* Update file for the Sidecontent module. |
| 48 |
'type' => 'text', |
'type' => 'text', |
| 49 |
'size' => 'big', |
'size' => 'big', |
| 50 |
'not null' => TRUE, |
'not null' => TRUE, |
|
'default' => '' |
|
| 51 |
), |
), |
| 52 |
), |
), |
| 53 |
'indexes' => array( |
'indexes' => array( |
| 109 |
} |
} |
| 110 |
|
|
| 111 |
return $ret; |
return $ret; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
function sidecontent_update_6001() { |
| 115 |
|
$ret = array(); |
| 116 |
|
// had mistakenly set a default on a text field |
| 117 |
|
db_field_set_no_default($ret, 'sidecontent', 'sidecontent'); |
| 118 |
|
// Rebuild schema cache |
| 119 |
|
drupal_get_schema('sidecontent', TRUE); |
| 120 |
|
return $ret; |
| 121 |
} |
} |
| 122 |
|
|
| 123 |
/** |
/** |