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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
{
"comment": "Set unsigned true for ir_ipb_id in ipblocks_restrictions table",
"before": {
"name": "ipblocks_restrictions",
"comment": "Partial Block Restrictions",
"columns": [
{
"name": "ir_ipb_id",
"comment": "The ipb_id from ipblocks",
"type": "integer",
"options": { "notnull": true }
},
{
"name": "ir_type",
"comment": "The restriction type id.",
"type": "mwtinyint",
"options": { "notnull": true, "length": 4 }
},
{
"name": "ir_value",
"comment": "The restriction id that corresponds to the type. Typically a Page ID or a Namespace ID.",
"type": "integer",
"options": { "notnull": true, "unsigned": true }
}
],
"indexes": [
{
"name": "ir_type_value",
"comment": "Index to query restrictions by the page or namespace.",
"columns": [ "ir_type", "ir_value" ],
"unique": false
}
],
"pk": [ "ir_ipb_id", "ir_type", "ir_value" ]
},
"after": {
"name": "ipblocks_restrictions",
"comment": "Partial Block Restrictions",
"columns": [
{
"name": "ir_ipb_id",
"comment": "The ipb_id from ipblocks",
"type": "integer",
"options": { "notnull": true, "unsigned": true }
},
{
"name": "ir_type",
"comment": "The restriction type id.",
"type": "mwtinyint",
"options": { "notnull": true, "length": 4 }
},
{
"name": "ir_value",
"comment": "The restriction id that corresponds to the type. Typically a Page ID or a Namespace ID.",
"type": "integer",
"options": { "notnull": true, "unsigned": true }
}
],
"indexes": [
{
"name": "ir_type_value",
"comment": "Index to query restrictions by the page or namespace.",
"columns": [ "ir_type", "ir_value" ],
"unique": false
}
],
"pk": [ "ir_ipb_id", "ir_type", "ir_value" ]
}
}
|