aboutsummaryrefslogtreecommitdiffstats
path: root/sql/mysql/patch-revision-cleanup.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mysql/patch-revision-cleanup.sql')
-rw-r--r--sql/mysql/patch-revision-cleanup.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/mysql/patch-revision-cleanup.sql b/sql/mysql/patch-revision-cleanup.sql
new file mode 100644
index 000000000000..87f1b8e0cd57
--- /dev/null
+++ b/sql/mysql/patch-revision-cleanup.sql
@@ -0,0 +1,9 @@
+-- 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
+ CHANGE rev_id rev_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL,
+ CHANGE rev_comment_id rev_comment_id BIGINT UNSIGNED NOT NULL,
+ CHANGE rev_actor rev_actor BIGINT UNSIGNED NOT NULL,
+ CHANGE rev_parent_id rev_parent_id BIGINT UNSIGNED DEFAULT NULL;