summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-15 22:40:21 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-15 22:40:21 +0000
commitd92e3c16774c03fab8c27aff71d8c09f3c24fc3a (patch)
tree1cbb144239b70f6f5e7b29cf64f9c386ce3d08b2
parentc1f6ab3b95c239797359c5e5e68a9cadc648d071 (diff)
downloadbrdo-d92e3c16774c03fab8c27aff71d8c09f3c24fc3a.tar.gz
brdo-d92e3c16774c03fab8c27aff71d8c09f3c24fc3a.tar.bz2
- fixed old node abstracts being wiped.
- set the changed date to created to presev old sorting. - tweaking update order to result in better success rates.
-rw-r--r--update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.php b/update.php
index b54e94452..9629f8f2c 100644
--- a/update.php
+++ b/update.php
@@ -198,7 +198,8 @@ function update_7() {
unset($body);
}
- update_sql("ALTER TABLE story DROP abstract");
+ update_sql("UPDATE node SET changed = created;");
+ update_sql("ALTER TABLE story DROP abstract;");
update_sql("ALTER TABLE book DROP section;");
}