Debian Codegraph @

extensions/Linter/sql/tables.json

raw symbols SCIP
1 [
2 {
3 "name": "linter",
4 "columns": [
5 {
6 "name": "linter_id",
7 "type": "integer",
8 "options": { "notnull": true, "unsigned": true, "autoincrement": true }
9 },
10 {
11 "name": "linter_page",
12 "comment": "page id",
13 "type": "integer",
14 "options": { "notnull": true, "unsigned": true }
15 },
16 {
17 "name": "linter_namespace",
18 "comment": "page namespace",
19 "type": "integer",
20 "options": { "notnull": false, "unsigned": false }
21 },
22 {
23 "name": "linter_cat",
24 "comment": "error category (see CategoryManager::$categoryIds)",
25 "type": "integer",
26 "options": { "notnull": true, "unsigned": true }
27 },
28 {
29 "name": "linter_start",
30 "comment": "end positions of where the error is located",
31 "type": "integer",
32 "options": { "notnull": true, "unsigned": true }
33 },
34 {
35 "name": "linter_end",
36 "comment": "end positions of where the error is located",
37 "type": "integer",
38 "options": { "notnull": true, "unsigned": true }
39 },
40 {
41 "name": "linter_params",
42 "comment": "extra parameters about the error, JSON encoded",
43 "type": "blob",
44 "options": { "length": 65530, "notnull": true }
45 },
46 {
47 "name": "linter_template",
48 "comment": "name of a template if used or empty",
49 "type": "binary",
50 "options": { "notnull": true, "length": 255, "default": "" }
51 },
52 {
53 "name": "linter_tag",
54 "comment": "name of tag if used or empty",
55 "type": "binary",
56 "options": { "notnull": true, "length": 32, "default": "" }
57 }
58 ],
59 "indexes": [
60 {
61 "name": "linter_page",
62 "comment": "Query by page",
63 "columns": [ "linter_page" ],
64 "unique": false
65 },
66 {
67 "name": "linter_cat_namespace",
68 "comment": "Query by category and namespace",
69 "columns": [ "linter_cat", "linter_namespace" ],
70 "unique": false
71 },
72 {
73 "name": "linter_cat_page_position",
74 "comment": "Unique index for lint errors, also covers linter_cat for query by category",
75 "columns": [ "linter_cat", "linter_page", "linter_start", "linter_end" ],
76 "unique": true
77 },
78 {
79 "name": "linter_cat_template",
80 "comment": "Query by template",
81 "columns": [ "linter_cat", "linter_template" ],
82 "unique": false
83 },
84 {
85 "name": "linter_cat_tag",
86 "comment": "Query by tag",
87 "columns": [ "linter_cat", "linter_tag" ],
88 "unique": false
89 }
90 ],
91 "pk": [ "linter_id" ]
92 }
93 ]