Debian Codegraph @

maintenance/abstractSchemaChanges/patch-watchlist-namespace_title-rename-index.json

raw symbols SCIP
1 {
2 "comment": "Rename namespace_title index to wl_namespace_title on watchlist (T266228)",
3 "before": {
4 "name": "watchlist",
5 "columns": [
6 {
7 "name": "wl_id",
8 "type": "integer",
9 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
10 },
11 {
12 "name": "wl_user",
13 "type": "integer",
14 "options": { "notnull": true, "unsigned": true }
15 },
16 {
17 "name": "wl_namespace",
18 "type": "integer",
19 "options": { "notnull": true, "unsigned": false, "default": 0 }
20 },
21 {
22 "name": "wl_title",
23 "type": "binary",
24 "options": { "length": 255, "notnull": true, "default": "" }
25 },
26 {
27 "name": "wl_notificationtimestamp",
28 "comment": "Timestamp used to send notification e-mails and show 'updated since last visit' markers. Set to NULL when the user visits the latest revision of the page, which means that they should be sent an e-mail on the next change.",
29 "type": "mwtimestamp",
30 "options": { "notnull": false }
31 }
32 ],
33 "indexes": [
34 {
35 "name": "wl_user",
36 "columns": [ "wl_user", "wl_namespace", "wl_title" ],
37 "comment": "Special:Watchlist",
38 "unique": true
39 },
40 {
41 "name": "namespace_title",
42 "columns": [ "wl_namespace", "wl_title" ],
43 "comment": "Special:Movepage (WatchedItemStore::duplicateEntry)",
44 "unique": false
45 },
46 {
47 "name": "wl_user_notificationtimestamp",
48 "columns": [ "wl_user", "wl_notificationtimestamp" ],
49 "comment": "ApiQueryWatchlistRaw changed filter",
50 "unique": false
51 }
52 ],
53 "pk": [ "wl_id" ]
54 },
55 "after": {
56 "name": "watchlist",
57 "columns": [
58 {
59 "name": "wl_id",
60 "type": "integer",
61 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
62 },
63 {
64 "name": "wl_user",
65 "type": "integer",
66 "options": { "notnull": true, "unsigned": true }
67 },
68 {
69 "name": "wl_namespace",
70 "type": "integer",
71 "options": { "notnull": true, "unsigned": false, "default": 0 }
72 },
73 {
74 "name": "wl_title",
75 "type": "binary",
76 "options": { "length": 255, "notnull": true, "default": "" }
77 },
78 {
79 "name": "wl_notificationtimestamp",
80 "comment": "Timestamp used to send notification e-mails and show 'updated since last visit' markers. Set to NULL when the user visits the latest revision of the page, which means that they should be sent an e-mail on the next change.",
81 "type": "mwtimestamp",
82 "options": { "notnull": false }
83 }
84 ],
85 "indexes": [
86 {
87 "name": "wl_user",
88 "columns": [ "wl_user", "wl_namespace", "wl_title" ],
89 "comment": "Special:Watchlist",
90 "unique": true
91 },
92 {
93 "name": "wl_namespace_title",
94 "columns": [ "wl_namespace", "wl_title" ],
95 "comment": "Special:Movepage (WatchedItemStore::duplicateEntry)",
96 "unique": false
97 },
98 {
99 "name": "wl_user_notificationtimestamp",
100 "columns": [ "wl_user", "wl_notificationtimestamp" ],
101 "comment": "ApiQueryWatchlistRaw changed filter",
102 "unique": false
103 }
104 ],
105 "pk": [ "wl_id" ]
106 }
107 }