Skip to content
Snippets Groups Projects
Commit 18eb8f05 authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- making sure the type field is set right for blocks: 1 -> 0, 2 ->1.

parent 470d763b
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
...@@ -621,6 +621,8 @@ function update_42() { ...@@ -621,6 +621,8 @@ function update_42() {
function update_43() { function update_43() {
update_sql("ALTER TABLE blocks DROP remove"); update_sql("ALTER TABLE blocks DROP remove");
update_sql("ALTER TABLE blocks DROP name"); update_sql("ALTER TABLE blocks DROP name");
update_sql("UPDATE blocks SET type = 0 WHERE type = 1");
update_sql("UPDATE blocks SET type = 1 WHERE type = 2");
} }
function update_upgrade3() { function update_upgrade3() {
......
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