Debian Codegraph @

extensions/Linter/sql/abstractSchemaChanges/patch-linter-add-template-tag-fields.json

raw symbols SCIP
1 {
2 "comment": "Filter errors by details (T175177)",
3 "before": {
4 "name": "linter",
5 "columns": [
6 {
7 "name": "linter_id",
8 "type": "integer",
9 "options": { "notnull": true, "unsigned": true, "autoincrement": true }
10 },
11 {
12 "name": "linter_page",
13 "comment": "page id",
14 "type": "integer",
15 "options": { "notnull": true, "unsigned": true }
16 },
17 {
18 "name": "linter_namespace",
19 "comment": "page namespace",
20 "type": "integer",
21 "options": { "notnull": false, "unsigned": false }
22 },
23 {
24 "name": "linter_cat",
25 "comment": "error category (see CategoryManager::$categoryIds)",
26 "type": "integer",
27 "options": { "notnull": true, "unsigned": true }
28 },
29 {
30 "name": "linter_start",
31 "comment": "end positions of where the error is located",
32 "type": "integer",
33 "options": { "notnull": true, "unsigned": true }
34 },
35 {
36 "name": "linter_end",
37 "comment": "end positions of where the error is located",
38 "type": "integer",
39 "options": { "notnull": true, "unsigned": true }
40 },
41 {
42 "name": "linter_params",
43 "comment": "extra parameters about the error, JSON encoded",
44 "type": "blob",
45 "options": { "length": 65530, "notnull": false }
46 }
47 ],
48 "indexes": [
49 {
50 "name": "linter_page",
51 "comment": "Query by page",
52 "columns": [ "linter_page" ],
53 "unique": false
54 },
55 {
56 "name": "linter_cat_namespace",
57 "comment": "Query by category and namespace",
58 "columns": [ "linter_cat", "linter_namespace" ],
59 "unique": false
60 },
61 {
62 "name": "linter_cat_page_position",
63 "comment": "Unique index for lint errors, also covers linter_cat for query by category",
64 "columns": [ "linter_cat", "linter_page", "linter_start", "linter_end" ],
65 "unique": true
66 }
67 ],
68 "pk": [ "linter_id" ]
69 },
70 "after": {
71 "name": "linter",
72 "columns": [
73 {
74 "name": "linter_id",
75 "type": "integer",
76 "options": { "notnull": true, "unsigned": true, "autoincrement": true }
77 },
78 {
79 "name": "linter_page",
80 "comment": "page id",
81 "type": "integer",
82 "options": { "notnull": true, "unsigned": true }
83 },
84 {
85 "name": "linter_namespace",
86 "comment": "page namespace",
87 "type": "integer",
88 "options": { "notnull": false, "unsigned": false }
89 },
90 {
91 "name": "linter_cat",
92 "comment": "error category (see CategoryManager::$categoryIds)",
93 "type": "integer",
94 "options": { "notnull": true, "unsigned": true }
95 },
96 {
97 "name": "linter_start",
98 "comment": "end positions of where the error is located",
99 "type": "integer",
100 "options": { "notnull": true, "unsigned": true }
101 },
102 {
103 "name": "linter_end",
104 "comment": "end positions of where the error is located",
105 "type": "integer",
106 "options": { "notnull": true, "unsigned": true }
107 },
108 {
109 "name": "linter_params",
110 "comment": "extra parameters about the error, JSON encoded",
111 "type": "blob",
112 "options": { "length": 65530, "notnull": false }
113 },
114 {
115 "name": "linter_template",
116 "comment": "name of a template if used or empty",
117 "type": "binary",
118 "options": { "notnull": true, "length": 255, "default": "" }
119 },
120 {
121 "name": "linter_tag",
122 "comment": "name of tag if used or empty",
123 "type": "binary",
124 "options": { "notnull": true, "length": 32, "default": "" }
125 }
126 ],
127 "indexes": [
128 {
129 "name": "linter_page",
130 "comment": "Query by page",
131 "columns": [ "linter_page" ],
132 "unique": false
133 },
134 {
135 "name": "linter_cat_namespace",
136 "comment": "Query by category and namespace",
137 "columns": [ "linter_cat", "linter_namespace" ],
138 "unique": false
139 },
140 {
141 "name": "linter_cat_page_position",
142 "comment": "Unique index for lint errors, also covers linter_cat for query by category",
143 "columns": [ "linter_cat", "linter_page", "linter_start", "linter_end" ],
144 "unique": true
145 },
146 {
147 "name": "linter_cat_template",
148 "comment": "Query by template",
149 "columns": [ "linter_cat", "linter_template" ],
150 "unique": false
151 },
152 {
153 "name": "linter_cat_tag",
154 "comment": "Query by tag",
155 "columns": [ "linter_cat", "linter_tag" ],
156 "unique": false
157 }
158 ],
159 "pk": [ "linter_id" ]
160 }
161 }