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

- update.php: discovered and fixed a small thinko in update function #7.
parent cd2df442
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
......@@ -125,6 +125,10 @@ function update_6() {
}
function update_7() {
print "updating the story table:\n";
update_sql("UPDATE story SET body = CONCAT(abstract, '\n\n', body)");
update_sql("ALTER TABLE story DROP abstract");
print 'rename the body fields:\n';
update_sql("ALTER TABLE story CHANGE body body_old TEXT DEFAULT '' NOT NULL;");
update_sql("ALTER TABLE page CHANGE body body_old TEXT DEFAULT '' NOT NULL;");
......
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