Page MenuHomePhabricator

Add centralauth.renameuser_status table
Closed, ResolvedPublic

Description

Short description: Add centralauth.renameuser_status table

Which wikis are affected: centralauth db

Which tables: renameuser

What is the change to those tables: Creating it

Links to gerrit changes and/or other related bug reports.

Schema:

  • Table for global rename status

CREATE TABLE renameuser_status (

  • Old name being renamed from ru_oldname varchar(255) binary not null,
  • New name being renamed to ru_newname varchar(255) binary not null,
  • WikiID ru_wiki varchar(255) binary not null,
  • current state of the renaming ru_status enum ('queued', 'inprogress', 'failed'),

    KEY (ru_oldname, ru_wiki)

) /*$wgDBTableOptions*/;

Gerrit change #92468


Version: unspecified
Severity: normal

Details

Reference
bz66446

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:16 AM
bzimport set Reference to bz66446.

On hold pending more info. The change set patch file has UNIQUE KEY (ru_oldname, ru_wiki).

Correct definition:

CREATE TABLE renameuser_status (

  • Old name being renamed from ru_oldname varchar(255) binary not null,
  • New name being renamed to ru_newname varchar(255) binary not null,
  • WikiID ru_wiki varchar(255) binary not null,
  • current state of the renaming ru_status enum ('queued', 'inprogress', 'failed'),

    UNIQUE KEY ru_oldname (ru_oldname, ru_wiki)

) /*$wgDBTableOptions*/;