#191282 follow up by bjaspan: fix inconsistent database schema introduced by #191282 previously

6.x
Gábor Hojtsy 2007-11-15 14:55:11 +00:00
parent d8c18ac010
commit 3f01e79ae2
1 changed files with 1 additions and 0 deletions

View File

@ -4534,6 +4534,7 @@ function system_update_6036() {
*/ */
function system_update_6037() { function system_update_6037() {
$ret = array(); $ret = array();
db_change_field($ret, 'blocks', 'region', 'region', array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''));
$ret[] = update_sql("UPDATE {blocks} SET region = '' WHERE status = 0"); $ret[] = update_sql("UPDATE {blocks} SET region = '' WHERE status = 0");
return $ret; return $ret;
} }