Debian Codegraph @

maintenance/abstractSchemaChanges/patch-change_tag-ct_rc_id.json

raw symbols SCIP
1 {
2 "before": {
3 "name": "change_tag",
4 "comment": "A table to track tags for revisions, logs and recent changes",
5 "columns": [
6 {
7 "name": "ct_id",
8 "type": "integer",
9 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
10 },
11 {
12 "name": "ct_rc_id",
13 "comment": "RCID for the change",
14 "type": "integer",
15 "options": { "unsigned": true, "notnull": false, "default": null }
16 },
17 {
18 "name": "ct_log_id",
19 "comment": "LOGID for the change",
20 "type": "integer",
21 "options": { "unsigned": true, "notnull": false, "default": null }
22 },
23 {
24 "name": "ct_rev_id",
25 "comment": "REVID for the change",
26 "type": "integer",
27 "options": { "unsigned": true, "notnull": false, "default": null }
28 },
29 {
30 "name": "ct_params",
31 "comment": "Parameters for the tag; used by some extensions",
32 "type": "blob",
33 "options": { "length": 65530, "notnull": false, "default": null }
34 },
35 {
36 "name": "ct_tag_id",
37 "comment": "Foreign key to change_tag_def row",
38 "type": "integer",
39 "options": { "unsigned": true, "notnull": true }
40 }
41 ],
42 "indexes": [
43 { "name": "ct_rc_tag_id", "columns": [ "ct_rc_id", "ct_tag_id" ], "unique": true },
44 { "name": "ct_log_tag_id", "columns": [ "ct_log_id", "ct_tag_id" ], "unique": true },
45 { "name": "ct_rev_tag_id", "columns": [ "ct_rev_id", "ct_tag_id" ], "unique": true },
46 {
47 "name": "ct_tag_id_id",
48 "comment": "Covering index, so we can pull all the info only out of the index.",
49 "columns": [ "ct_tag_id", "ct_rc_id", "ct_rev_id", "ct_log_id" ],
50 "unique": false
51 }
52 ],
53 "pk": [ "ct_id" ]
54 },
55 "after": {
56 "name": "change_tag",
57 "comment": "A table to track tags for revisions, logs and recent changes",
58 "columns": [
59 {
60 "name": "ct_id",
61 "type": "integer",
62 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
63 },
64 {
65 "name": "ct_rc_id",
66 "comment": "RCID for the change",
67 "type": "bigint",
68 "options": { "unsigned": true, "notnull": false, "default": null }
69 },
70 {
71 "name": "ct_log_id",
72 "comment": "LOGID for the change",
73 "type": "integer",
74 "options": { "unsigned": true, "notnull": false, "default": null }
75 },
76 {
77 "name": "ct_rev_id",
78 "comment": "REVID for the change",
79 "type": "integer",
80 "options": { "unsigned": true, "notnull": false, "default": null }
81 },
82 {
83 "name": "ct_params",
84 "comment": "Parameters for the tag; used by some extensions",
85 "type": "blob",
86 "options": { "length": 65530, "notnull": false, "default": null }
87 },
88 {
89 "name": "ct_tag_id",
90 "comment": "Foreign key to change_tag_def row",
91 "type": "integer",
92 "options": { "unsigned": true, "notnull": true }
93 }
94 ],
95 "indexes": [
96 { "name": "ct_rc_tag_id", "columns": [ "ct_rc_id", "ct_tag_id" ], "unique": true },
97 { "name": "ct_log_tag_id", "columns": [ "ct_log_id", "ct_tag_id" ], "unique": true },
98 { "name": "ct_rev_tag_id", "columns": [ "ct_rev_id", "ct_tag_id" ], "unique": true },
99 {
100 "name": "ct_tag_id_id",
101 "comment": "Covering index, so we can pull all the info only out of the index.",
102 "columns": [ "ct_tag_id", "ct_rc_id", "ct_rev_id", "ct_log_id" ],
103 "unique": false
104 }
105 ],
106 "pk": [ "ct_id" ]
107 }
108 }