Debian Codegraph @

extensions/Linter/sql/abstractSchemaChanges/patch-linter-add-namespace.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_cat",
19 "comment": "error category (see CategoryManager::$categoryIds)",
20 "type": "integer",
21 "options": { "notnull": true, "unsigned": true }
22 },
23 {
24 "name": "linter_start",
25 "comment": "end positions of where the error is located",
26 "type": "integer",
27 "options": { "notnull": true, "unsigned": true }
28 },
29 {
30 "name": "linter_end",
31 "comment": "end positions of where the error is located",
32 "type": "integer",
33 "options": { "notnull": true, "unsigned": true }
34 },
35 {
36 "name": "linter_params",
37 "comment": "extra parameters about the error, JSON encoded",
38 "type": "blob",
39 "options": { "length": 65530, "notnull": false }
40 }
41 ],
42 "indexes": [
43 {
44 "name": "linter_page",
45 "comment": "Query by page",
46 "columns": [ "linter_page" ],
47 "unique": false
48 },
49 {
50 "name": "linter_cat_page_position",
51 "comment": "Unique index for lint errors, also covers linter_cat for query by category",
52 "columns": [ "linter_cat", "linter_page", "linter_start", "linter_end" ],
53 "unique": true
54 }
55 ],
56 "pk": [ "linter_id" ]
57 },
58 "after": {
59 "name": "linter",
60 "columns": [
61 {
62 "name": "linter_id",
63 "type": "integer",
64 "options": { "notnull": true, "unsigned": true, "autoincrement": true }
65 },
66 {
67 "name": "linter_page",
68 "comment": "page id",
69 "type": "integer",
70 "options": { "notnull": true, "unsigned": true }
71 },
72 {
73 "name": "linter_namespace",
74 "comment": "page namespace",
75 "type": "integer",
76 "options": { "notnull": false, "unsigned": false }
77 },
78 {
79 "name": "linter_cat",
80 "comment": "error category (see CategoryManager::$categoryIds)",
81 "type": "integer",
82 "options": { "notnull": true, "unsigned": true }
83 },
84 {
85 "name": "linter_start",
86 "comment": "end positions of where the error is located",
87 "type": "integer",
88 "options": { "notnull": true, "unsigned": true }
89 },
90 {
91 "name": "linter_end",
92 "comment": "end positions of where the error is located",
93 "type": "integer",
94 "options": { "notnull": true, "unsigned": true }
95 },
96 {
97 "name": "linter_params",
98 "comment": "extra parameters about the error, JSON encoded",
99 "type": "blob",
100 "options": { "length": 65530, "notnull": false }
101 }
102 ],
103 "indexes": [
104 {
105 "name": "linter_page",
106 "comment": "Query by page",
107 "columns": [ "linter_page" ],
108 "unique": false
109 },
110 {
111 "name": "linter_cat_namespace",
112 "comment": "Query by category and namespace",
113 "columns": [ "linter_cat", "linter_namespace" ],
114 "unique": false
115 },
116 {
117 "name": "linter_cat_page_position",
118 "comment": "Unique index for lint errors, also covers linter_cat for query by category",
119 "columns": [ "linter_cat", "linter_page", "linter_start", "linter_end" ],
120 "unique": true
121 }
122 ],
123 "pk": [ "linter_id" ]
124 }
125 }