Debian Codegraph @

maintenance/abstractSchemaChanges/patch-user_autocreate_serial-uas_year.json

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