1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
"comment": "Add uas_year to user_autocreate_serial table",
"before": {
"name": "user_autocreate_serial",
"comment": "Table for sequential name generation for auto-created temporary users",
"columns": [
{
"name": "uas_shard",
"comment": "The segment of ID space, ID mod N, referred to by this row",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
},
{
"name": "uas_value",
"comment": "The maximum allocated ID value",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
}
],
"indexes": [],
"pk": [ "uas_shard" ]
},
"after": {
"name": "user_autocreate_serial",
"comment": "Table for sequential name generation for auto-created temporary users",
"columns": [
{
"name": "uas_shard",
"comment": "The segment of ID space, ID mod N, referred to by this row",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
},
{
"name": "uas_year",
"comment": "The year to which this row belongs, if $wgAutoCreateTempUser['serialProvider']['useYear'] is true.",
"type": "smallint",
"options": { "unsigned": true, "notnull": true }
},
{
"name": "uas_value",
"comment": "The maximum allocated ID value",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
}
],
"indexes": [],
"pk": [ "uas_shard", "uas_year" ]
}
}
|