summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.php b/update.php
index a49f4fe1d..1cc0d1c81 100644
--- a/update.php
+++ b/update.php
@@ -40,6 +40,7 @@ $mysql_updates = array(
"2001-12-09" => "update_13",
"2001-12-16" => "update_14",
"2001-12-24" => "update_15",
+ "2001-12-30" => "update_16",
);
// Update functions
@@ -291,6 +292,10 @@ function update_15() {
update_sql("ALTER TABLE feed DROP uncache;");
}
+function update_16() {
+ update_sql("ALTER TABLE comments CHANGE lid nid int(10) NOT NULL;");
+}
+
// System functions
function update_sql($sql) {
global $edit;