aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/postgres/archives/patch-revision-cleanup.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/postgres/archives/patch-revision-cleanup.sql')
-rw-r--r--maintenance/postgres/archives/patch-revision-cleanup.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/maintenance/postgres/archives/patch-revision-cleanup.sql b/maintenance/postgres/archives/patch-revision-cleanup.sql
new file mode 100644
index 000000000000..483d4b1ecfaa
--- /dev/null
+++ b/maintenance/postgres/archives/patch-revision-cleanup.sql
@@ -0,0 +1,14 @@
+-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
+-- Source: maintenance/abstractSchemaChanges/patch-revision-cleanup.json
+-- Do not modify this file directly.
+-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
+ALTER TABLE revision
+ ALTER rev_id TYPE BIGINT;
+ALTER TABLE revision
+ ALTER rev_comment_id
+ DROP DEFAULT;
+ALTER TABLE revision
+ ALTER rev_actor
+ DROP DEFAULT;
+ALTER TABLE revision
+ ALTER rev_parent_id TYPE BIGINT;