Page MenuHomeWickedGov Phorge

patch-renameuser_status-unique-to-pk.json
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

patch-renameuser_status-unique-to-pk.json

{
"comment": "Convert unique index to primary key (T300577)",
"before": {
"name": "renameuser_status",
"comment": "Table for global rename status",
"columns": [
{
"name": "ru_oldname",
"comment": "Old name being renamed from",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_newname",
"comment": "New name being renamed to",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_wiki",
"comment": "WikiID",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_status",
"comment": "current state of the renaming",
"type": "mwenum",
"options": {
"notnull": false,
"CustomSchemaOptions": {
"enum_values": [
"queued",
"inprogress",
"failed"
]
}
}
}
],
"indexes": [
{
"name": "ru_oldname",
"columns": [
"ru_oldname",
"ru_wiki"
],
"unique": true
}
]
},
"after": {
"name": "renameuser_status",
"comment": "Table for global rename status",
"columns": [
{
"name": "ru_oldname",
"comment": "Old name being renamed from",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_newname",
"comment": "New name being renamed to",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_wiki",
"comment": "WikiID",
"type": "binary",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "ru_status",
"comment": "current state of the renaming",
"type": "mwenum",
"options": {
"notnull": false,
"CustomSchemaOptions": {
"enum_values": [
"queued",
"inprogress",
"failed"
]
}
}
}
],
"indexes": [],
"pk": [
"ru_oldname",
"ru_wiki"
]
}
}

File Metadata

Mime Type
application/json
Expires
Fri, Jul 3, 17:13 (17 h, 49 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ce/77/1f2d4f9f81513cb9ecd06f3881f4
Default Alt Text
patch-renameuser_status-unique-to-pk.json (1 KB)

Event Timeline