wikimedia/mediawiki-core

View on GitHub
maintenance/archives/patch-revision-cleanup.sql

Summary

Maintainability
Test Coverage
-- 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;