From 6fd5a8d9cfb713ceb723ba1c977c35d01b80cd1b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Nov 2001 13:05:32 +0000 Subject: - update.php: discovered and fixed a small thinko in update function #7. --- update.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.php b/update.php index f1dc3ada8..c862f1fdf 100644 --- a/update.php +++ b/update.php @@ -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;"); -- cgit v1.2.3