summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/archives/patch-watchlist-null.sql
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/archives/patch-watchlist-null.sql')
-rw-r--r--www/wiki/maintenance/archives/patch-watchlist-null.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-watchlist-null.sql b/www/wiki/maintenance/archives/patch-watchlist-null.sql
new file mode 100644
index 00000000..d4869a02
--- /dev/null
+++ b/www/wiki/maintenance/archives/patch-watchlist-null.sql
@@ -0,0 +1,9 @@
+-- Set up wl_notificationtimestamp with NULL support.
+-- 2005-08-17
+
+ALTER TABLE /*$wgDBprefix*/watchlist
+ CHANGE wl_notificationtimestamp wl_notificationtimestamp varbinary(14);
+
+UPDATE /*$wgDBprefix*/watchlist
+ SET wl_notificationtimestamp=NULL
+ WHERE wl_notificationtimestamp='0';