Commit 3f01e79a authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

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

parent d8c18ac0
...@@ -4534,6 +4534,7 @@ function system_update_6036() { ...@@ -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;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment