Skip to content
Snippets Groups Projects
Commit 6597a94f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #37373 by killes: fixed bug in upgrade path.

parent 92acb926
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1412,7 +1412,7 @@ function system_update_167() { ...@@ -1412,7 +1412,7 @@ function system_update_167() {
switch ($GLOBALS['db_type']) { switch ($GLOBALS['db_type']) {
case 'mysqli': case 'mysqli':
case 'mysql': case 'mysql':
$ret[] = update_sql("ALTER TABLE {vocabulary_node_types} CHANGE type varchar(32) NOT NULL default ''"); $ret[] = update_sql("ALTER TABLE {vocabulary_node_types} CHANGE type type varchar(32) NOT NULL default ''");
break; break;
case 'pgsql': case 'pgsql':
db_change_column($ret, 'vocabulary_node_types', 'type', 'type', 'varchar(32)', array('not null' => TRUE, 'default' => "''")); db_change_column($ret, 'vocabulary_node_types', 'type', 'type', 'varchar(32)', array('not null' => TRUE, 'default' => "''"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment