wiki.techinc.nl/maintenance/archives/patch-revision-cleanup.sql
Alexander Vorwerk b2d44a162c Cleanup revision table schema
* Drop default value from rev_actor and rev_comment_id
* Make rev_id a bigint

Bug: T215466
Depends-On: I88318d7bcc063bc86a56eeb5f00048ea6e81964b
Change-Id: Id0a3d920e8b2dc8643fa3c0341b34ab3ed5761dc
2024-05-04 20:22:36 +02:00

9 lines
534 B
SQL

-- 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;