Fix typo in postgres patch-drop-ar_text.sql
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 26 Apr 2018 18:52:12 +0000 (14:52 -0400)
committerAlex Monk <krenair@gmail.com>
Tue, 2 Oct 2018 22:42:40 +0000 (22:42 +0000)
I18f1c740 was cherry-picked to REL1_31 but it was broken.
Before that got merged to REL1_31, this was already in master,
but apparently that was missed when cherry-picking.
This should have made 1.31-rc.2.

Bug: T205967
Change-Id: I6d479d123848325b8501275ef4b98fc81cd99505
(cherry picked from commit 7e685a395d4a6e69d904c03f6e847b18795217a9)

RELEASE-NOTES-1.31
maintenance/postgres/archives/patch-drop-ar_text.sql

index b6c2a66..24e42e9 100644 (file)
@@ -5,6 +5,7 @@ THIS IS NOT A RELEASE YET
 === Changes since MediaWiki 1.31.1 ===
 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query all
   titles when asked for none
+* (T205967) Fix syntax error typo in postgres database upgrade file.
 
 == MediaWiki 1.31.1 ==
 
index a2e8e41..bd0a6b8 100644 (file)
@@ -4,5 +4,5 @@
 ALTER TABLE archive
   DROP COLUMN ar_text,
   DROP COLUMN ar_flags,
-  ALTER COLUMN ar_text_id SET DEFAULT 0;
+  ALTER COLUMN ar_text_id SET DEFAULT 0,
   ALTER COLUMN ar_text_id SET NOT NULL;