Debian Codegraph @

maintenance/abstractSchemaChanges/patch-templatelinks-drop-tl_title.json

raw symbols SCIP
1 {
2 "comment": "Drop tl_title column (and more) on templatelinks (T299417)",
3 "before": {
4 "name": "templatelinks",
5 "comment": "Track template inclusions. The target page may or may not exist, and due to renames and deletions may refer to different page records as time goes by.",
6 "columns": [
7 {
8 "name": "tl_from",
9 "comment": "Key to the page_id of the page containing the link.",
10 "type": "integer",
11 "options": { "notnull": true, "unsigned": true, "default": 0 }
12 },
13 {
14 "name": "tl_from_namespace",
15 "type": "integer",
16 "comment": "Namespace for this page",
17 "options": { "notnull": true, "default": 0 }
18 },
19 {
20 "name": "tl_namespace",
21 "type": "integer",
22 "options": { "default": 0 }
23 },
24 {
25 "name": "tl_title",
26 "type": "binary",
27 "options": { "length": 255, "default": "" }
28 },
29 {
30 "name": "tl_target_id",
31 "type": "bigint",
32 "comment": "Foreign key to linktarget.lt_id",
33 "options": { "notnull": true, "unsigned": true }
34 }
35 ],
36 "indexes": [
37 {
38 "name": "tl_namespace",
39 "columns": [ "tl_namespace", "tl_title", "tl_from" ],
40 "comment": "Reverse index, for Special:Whatlinkshere",
41 "unique": false
42 },
43 {
44 "name": "tl_backlinks_namespace",
45 "columns": [ "tl_from_namespace", "tl_namespace", "tl_title", "tl_from" ],
46 "comment": "Index for Special:Whatlinkshere with namespace filter",
47 "unique": false
48 },
49 {
50 "name": "tl_target_id",
51 "columns": [ "tl_target_id", "tl_from" ],
52 "comment": "Reverse index, for Special:Whatlinkshere",
53 "unique": false
54 },
55 {
56 "name": "tl_backlinks_namespace_target_id",
57 "columns": [ "tl_from_namespace", "tl_target_id", "tl_from" ],
58 "comment": "Index for Special:Whatlinkshere with namespace filter",
59 "unique": false
60 }
61 ],
62 "pk": [ "tl_from", "tl_target_id" ]
63 },
64 "after": {
65 "name": "templatelinks",
66 "comment": "Track template inclusions. The target page may or may not exist, and due to renames and deletions may refer to different page records as time goes by.",
67 "columns": [
68 {
69 "name": "tl_from",
70 "comment": "Key to the page_id of the page containing the link.",
71 "type": "integer",
72 "options": { "notnull": true, "unsigned": true, "default": 0 }
73 },
74 {
75 "name": "tl_from_namespace",
76 "type": "integer",
77 "comment": "Namespace for this page",
78 "options": { "notnull": true, "default": 0 }
79 },
80 {
81 "name": "tl_target_id",
82 "type": "bigint",
83 "comment": "Foreign key to linktarget.lt_id",
84 "options": { "notnull": true, "unsigned": true }
85 }
86 ],
87 "indexes": [
88 {
89 "name": "tl_target_id",
90 "columns": [ "tl_target_id", "tl_from" ],
91 "comment": "Reverse index, for Special:Whatlinkshere",
92 "unique": false
93 },
94 {
95 "name": "tl_backlinks_namespace_target_id",
96 "columns": [ "tl_from_namespace", "tl_target_id", "tl_from" ],
97 "comment": "Index for Special:Whatlinkshere with namespace filter",
98 "unique": false
99 }
100 ],
101 "pk": [ "tl_from", "tl_target_id" ]
102 }
103 }