Debian Codegraph @

maintenance/abstractSchemaChanges/patch-user-user_editcount.json

raw symbols SCIP
1 {
2 "comment": "Set user_editcount to unsigned in user table",
3 "before": {
4 "name": "user",
5 "columns": [
6 {
7 "name": "user_id",
8 "type": "integer",
9 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
10 },
11 {
12 "name": "user_name",
13 "type": "binary",
14 "options": { "notnull": true, "length": 255, "default": "" }
15 },
16 {
17 "name": "user_real_name",
18 "type": "binary",
19 "options": { "notnull": true, "length": 255, "default": "" }
20 },
21 {
22 "name": "user_password",
23 "type": "blob",
24 "options": { "notnull": true, "length": 255 }
25 },
26 {
27 "name": "user_newpassword",
28 "type": "blob",
29 "options": { "notnull": true, "length": 255 }
30 },
31 {
32 "name": "user_newpass_time",
33 "type": "binary",
34 "options": { "notnull": false, "length": 14 }
35 },
36 {
37 "name": "user_email",
38 "type": "blob",
39 "options": { "notnull": true, "length": 255 }
40 },
41 {
42 "name": "user_touched",
43 "type": "binary",
44 "options": { "notnull": true, "length": 14 }
45 },
46 {
47 "name": "user_token",
48 "type": "binary",
49 "options": { "notnull": true, "default": "", "length": 32, "fixed": true }
50 },
51 {
52 "name": "user_email_authenticated",
53 "type": "binary",
54 "options": { "notnull": false, "length": 14 }
55 },
56 {
57 "name": "user_email_token",
58 "type": "binary",
59 "options": { "notnull": false, "length": 32, "fixed": true }
60 },
61 {
62 "name": "user_email_token_expires",
63 "type": "binary",
64 "options": { "notnull": false, "length": 14 }
65 },
66 {
67 "name": "user_registration",
68 "type": "binary",
69 "options": { "notnull": false, "length": 14 }
70 },
71 {
72 "name": "user_editcount",
73 "type": "integer",
74 "options": { "notnull": false }
75 },
76 {
77 "name": "user_password_expires",
78 "type": "binary",
79 "options": { "notnull": false, "length": 14 }
80 }
81 ],
82 "indexes": [
83 { "name": "user_name", "columns": [ "user_name" ], "unique": true },
84 { "name": "user_email_token", "columns": [ "user_email_token" ], "unique": false },
85 { "name": "user_email", "columns": [ "user_email" ], "unique": false, "options": { "lengths": [ 50, null, null ] } }
86 ],
87 "pk": [ "user_id" ]
88 },
89 "after": {
90 "name": "user",
91 "columns": [
92 {
93 "name": "user_id",
94 "type": "integer",
95 "options": { "unsigned": true, "notnull": true, "autoincrement": true }
96 },
97 {
98 "name": "user_name",
99 "type": "binary",
100 "options": { "notnull": true, "length": 255, "default": "" }
101 },
102 {
103 "name": "user_real_name",
104 "type": "binary",
105 "options": { "notnull": true, "length": 255, "default": "" }
106 },
107 {
108 "name": "user_password",
109 "type": "blob",
110 "options": { "notnull": true, "length": 255 }
111 },
112 {
113 "name": "user_newpassword",
114 "type": "blob",
115 "options": { "notnull": true, "length": 255 }
116 },
117 {
118 "name": "user_newpass_time",
119 "type": "binary",
120 "options": { "notnull": false, "length": 14 }
121 },
122 {
123 "name": "user_email",
124 "type": "blob",
125 "options": { "notnull": true, "length": 255 }
126 },
127 {
128 "name": "user_touched",
129 "type": "binary",
130 "options": { "notnull": true, "length": 14 }
131 },
132 {
133 "name": "user_token",
134 "type": "binary",
135 "options": { "notnull": true, "default": "", "length": 32, "fixed": true }
136 },
137 {
138 "name": "user_email_authenticated",
139 "type": "binary",
140 "options": { "notnull": false, "length": 14 }
141 },
142 {
143 "name": "user_email_token",
144 "type": "binary",
145 "options": { "notnull": false, "length": 32, "fixed": true }
146 },
147 {
148 "name": "user_email_token_expires",
149 "type": "binary",
150 "options": { "notnull": false, "length": 14 }
151 },
152 {
153 "name": "user_registration",
154 "type": "binary",
155 "options": { "notnull": false, "length": 14 }
156 },
157 {
158 "name": "user_editcount",
159 "type": "integer",
160 "options": { "notnull": false, "unsigned": true }
161 },
162 {
163 "name": "user_password_expires",
164 "type": "binary",
165 "options": { "notnull": false, "length": 14 }
166 }
167 ],
168 "indexes": [
169 { "name": "user_name", "columns": [ "user_name" ], "unique": true },
170 { "name": "user_email_token", "columns": [ "user_email_token" ], "unique": false },
171 { "name": "user_email", "columns": [ "user_email" ], "unique": false, "options": { "lengths": [ 50, null, null ] } }
172 ],
173 "pk": [ "user_id" ]
174 }
175 }