Index: trunk/phase3/maintenance/sqlite/tables.sql |
— | — | @@ -1,539 +1,166 @@ |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | 2 | CREATE TABLE /*$wgDBprefix*/user ( |
50 | 3 | user_id INTEGER PRIMARY KEY AUTOINCREMENT, |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | 4 | user_name varchar(255) default '', |
57 | | - |
58 | 5 | user_real_name varchar(255) default '', |
59 | | - |
60 | | - |
61 | | - |
62 | 6 | user_password tinyblob , |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | 7 | user_newpassword tinyblob , |
70 | | - |
71 | | - |
72 | 8 | user_newpass_time BLOB, |
73 | | - |
74 | | - |
75 | 9 | user_email tinytext , |
76 | | - |
77 | | - |
78 | 10 | user_options blob , |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | 11 | user_touched BLOB default '', |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | 12 | user_token BLOB default '', |
89 | | - |
90 | | - |
91 | | - |
92 | 13 | user_email_authenticated BLOB, |
93 | | - |
94 | | - |
95 | 14 | user_email_token BLOB, |
96 | | - |
97 | 15 | user_email_token_expires BLOB, |
98 | | - |
99 | | - |
100 | 16 | user_registration BLOB, |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | 17 | user_editcount int) /*$wgDBTableOptions*/; |
112 | 18 | |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | 19 | CREATE TABLE /*$wgDBprefix*/user_groups ( |
121 | | - |
122 | 20 | ug_user INTEGER default '0', |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | 21 | ug_group varBLOB default '') /*$wgDBTableOptions*/; |
132 | 22 | |
133 | | - |
134 | 23 | CREATE TABLE /*$wgDBprefix*/user_newtalk ( |
135 | | - |
136 | 24 | user_id INTEGER default '0', |
137 | | - |
138 | | - |
139 | 25 | user_ip varBLOB default '', |
140 | | - |
141 | | - |
142 | 26 | user_last_timestamp BLOB default '') /*$wgDBTableOptions*/; |
143 | 27 | |
144 | | - |
145 | | - |
146 | | - |
147 | 28 | CREATE TABLE /*$wgDBprefix*/page ( |
148 | | - |
149 | | - |
150 | 29 | page_id INTEGER PRIMARY KEY AUTOINCREMENT, |
151 | | - |
152 | | - |
153 | | - |
154 | 30 | page_namespace INTEGER , |
155 | | - |
156 | | - |
157 | 31 | page_title varchar(255) , |
158 | | - |
159 | | - |
160 | 32 | page_restrictions tinyblob , |
161 | | - |
162 | 33 | page_counter bigint default '0', |
163 | | - |
164 | 34 | page_is_redirect tinyint default '0', |
165 | | - |
166 | | - |
167 | 35 | page_is_new tinyint default '0', |
168 | | - |
169 | 36 | page_random real , |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | 37 | page_touched BLOB default '', |
176 | | - |
177 | | - |
178 | | - |
179 | 38 | page_latest INTEGER , |
180 | | - |
181 | 39 | page_len INTEGER ) /*$wgDBTableOptions*/; |
182 | 40 | |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | 41 | CREATE TABLE /*$wgDBprefix*/revision ( |
188 | 42 | rev_id INTEGER PRIMARY KEY AUTOINCREMENT, |
189 | | - |
190 | 43 | rev_page INTEGER , |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | 44 | rev_text_id INTEGER , |
196 | | - |
197 | | - |
198 | | - |
199 | 45 | rev_comment tinyblob , |
200 | | - |
201 | | - |
202 | 46 | rev_user INTEGER default '0', |
203 | | - |
204 | 47 | rev_user_text varchar(255) default '', |
205 | | - |
206 | 48 | rev_timestamp BLOB default '', |
207 | | - |
208 | | - |
209 | 49 | rev_minor_edit tinyint default '0', |
210 | | - |
211 | 50 | rev_deleted tinyint default '0', |
212 | | - |
213 | 51 | rev_len int, |
214 | | - |
215 | | - |
216 | 52 | rev_parent_id INTEGER default NULL) /*$wgDBTableOptions*/ ; |
217 | 53 | |
218 | | - |
219 | | - |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | 54 | CREATE TABLE /*$wgDBprefix*/text ( |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | 55 | old_id INTEGER PRIMARY KEY AUTOINCREMENT, |
233 | | - |
234 | | - |
235 | 56 | old_text mediumblob , |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | 57 | old_flags tinyblob ) /*$wgDBTableOptions*/ ; |
246 | 58 | |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | 59 | CREATE TABLE /*$wgDBprefix*/archive ( |
254 | 60 | ar_namespace INTEGER default '0', |
255 | 61 | ar_title varchar(255) default '', |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | 62 | ar_text mediumblob , |
263 | | - |
264 | 63 | ar_comment tinyblob , |
265 | 64 | ar_user INTEGER default '0', |
266 | 65 | ar_user_text varchar(255) , |
267 | 66 | ar_timestamp BLOB default '', |
268 | 67 | ar_minor_edit tinyint default '0', |
269 | | - |
270 | 68 | ar_flags tinyblob , |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | 69 | ar_rev_id int, |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | 70 | ar_text_id int, |
289 | | - |
290 | 71 | ar_deleted tinyint default '0', |
291 | | - |
292 | 72 | ar_len int, |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | 73 | ar_page_id int, |
299 | | - |
300 | 74 | ar_parent_id INTEGER default NULL) /*$wgDBTableOptions*/; |
301 | 75 | |
302 | | - |
303 | | - |
304 | 76 | CREATE TABLE /*$wgDBprefix*/pagelinks ( |
305 | | - |
306 | 77 | pl_from INTEGER default '0', |
307 | | - |
308 | | - |
309 | | - |
310 | | - |
311 | 78 | pl_namespace INTEGER default '0', |
312 | 79 | pl_title varchar(255) default '') /*$wgDBTableOptions*/; |
313 | 80 | |
314 | | - |
315 | | - |
316 | 81 | CREATE TABLE /*$wgDBprefix*/templatelinks ( |
317 | | - |
318 | 82 | tl_from INTEGER default '0', |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | 83 | tl_namespace INTEGER default '0', |
324 | 84 | tl_title varchar(255) default '') /*$wgDBTableOptions*/; |
325 | 85 | |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | 86 | CREATE TABLE /*$wgDBprefix*/imagelinks ( |
331 | | - |
332 | 87 | il_from INTEGER default '0', |
333 | | - |
334 | | - |
335 | | - |
336 | 88 | il_to varchar(255) default '') /*$wgDBTableOptions*/; |
337 | 89 | |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
342 | 90 | CREATE TABLE /*$wgDBprefix*/categorylinks ( |
343 | | - |
344 | 91 | cl_from INTEGER default '0', |
345 | | - |
346 | | - |
347 | | - |
348 | 92 | cl_to varchar(255) default '', |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
357 | 93 | cl_sortkey varchar(70) default '', |
358 | | - |
359 | | - |
360 | 94 | cl_timestamp timestamp ) /*$wgDBTableOptions*/; |
361 | 95 | |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | 96 | CREATE TABLE /*$wgDBprefix*/category ( |
367 | | - |
368 | 97 | cat_id INTEGER PRIMARY KEY AUTOINCREMENT, |
369 | | - |
370 | | - |
371 | | - |
372 | 98 | cat_title varchar(255) , |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | 99 | cat_pages INTEGER signed default 0, |
379 | 100 | cat_subcats INTEGER signed default 0, |
380 | 101 | cat_files INTEGER signed default 0, |
381 | | - |
382 | 102 | cat_hidden tinyint default 0) /*$wgDBTableOptions*/; |
383 | 103 | |
384 | | - |
385 | | - |
386 | 104 | CREATE TABLE /*$wgDBprefix*/externallinks ( |
387 | | - |
388 | 105 | el_from INTEGER default '0', |
389 | | - |
390 | 106 | el_to blob , |
391 | | - |
392 | | - |
393 | | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | 107 | el_index blob ) /*$wgDBTableOptions*/; |
403 | 108 | |
404 | | - |
405 | | - |
406 | 109 | CREATE TABLE /*$wgDBprefix*/langlinks ( |
407 | | - |
408 | 110 | ll_from INTEGER default '0', |
409 | | - |
410 | 111 | ll_lang varBLOB default '', |
411 | | - |
412 | 112 | ll_title varchar(255) default '') /*$wgDBTableOptions*/; |
413 | 113 | |
414 | | - |
415 | | - |
416 | | - |
417 | 114 | CREATE TABLE /*$wgDBprefix*/site_stats ( |
418 | | - |
419 | 115 | ss_row_id INTEGER , |
420 | | - |
421 | 116 | ss_total_views bigint default '0', |
422 | | - |
423 | 117 | ss_total_edits bigint default '0', |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | 118 | ss_good_articles bigint default '0', |
430 | | - |
431 | 119 | ss_total_pages bigint default '-1', |
432 | | - |
433 | 120 | ss_users bigint default '-1', |
434 | | - |
435 | 121 | ss_admins INTEGER default '-1', |
436 | | - |
437 | 122 | ss_images INTEGER default '0') /*$wgDBTableOptions*/; |
438 | 123 | |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | 124 | CREATE TABLE /*$wgDBprefix*/hitcounter ( |
446 | 125 | hc_id INTEGER |
447 | 126 | ) ; |
448 | 127 | |
449 | | - |
450 | | - |
451 | | - |
452 | 128 | CREATE TABLE /*$wgDBprefix*/ipblocks ( |
453 | | - |
454 | 129 | ipb_id INTEGER PRIMARY KEY AUTOINCREMENT, |
455 | | - |
456 | 130 | ipb_address tinyblob , |
457 | | - |
458 | 131 | ipb_user INTEGER default '0', |
459 | | - |
460 | 132 | ipb_by INTEGER default '0', |
461 | | - |
462 | 133 | ipb_by_text varchar(255) default '', |
463 | | - |
464 | 134 | ipb_reason tinyblob , |
465 | | - |
466 | | - |
467 | 135 | ipb_timestamp BLOB default '', |
468 | | - |
469 | | - |
470 | | - |
471 | 136 | ipb_auto bool default 0, |
472 | | - |
473 | 137 | ipb_anon_only bool default 0, |
474 | | - |
475 | 138 | ipb_create_account bool default 1, |
476 | | - |
477 | 139 | ipb_enable_autoblock bool default '1', |
478 | | - |
479 | | - |
480 | 140 | ipb_expiry varBLOB default '', |
481 | | - |
482 | | - |
483 | 141 | ipb_range_start tinyblob , |
484 | 142 | ipb_range_end tinyblob , |
485 | | - |
486 | 143 | ipb_deleted bool default 0, |
487 | | - |
488 | 144 | ipb_block_email bool default 0) /*$wgDBTableOptions*/; |
489 | 145 | |
490 | | - |
491 | | - |
492 | 146 | CREATE TABLE /*$wgDBprefix*/image ( |
493 | | - |
494 | | - |
495 | | - |
496 | 147 | img_name varchar(255) default '', |
497 | | - |
498 | 148 | img_size INTEGER default '0', |
499 | | - |
500 | 149 | img_width INTEGER default '0', |
501 | 150 | img_height INTEGER default '0', |
502 | | - |
503 | 151 | img_metadata mediumblob , |
504 | | - |
505 | 152 | img_bits INTEGER default '0', |
506 | | - |
507 | 153 | img_media_type TEXT default NULL, |
508 | | - |
509 | | - |
510 | 154 | img_major_mime TEXT default "unknown", |
511 | | - |
512 | | - |
513 | | - |
514 | | - |
515 | 155 | img_minor_mime varBLOB default "unknown", |
516 | | - |
517 | | - |
518 | 156 | img_description tinyblob , |
519 | | - |
520 | 157 | img_user INTEGER default '0', |
521 | 158 | img_user_text varchar(255) , |
522 | | - |
523 | 159 | img_timestamp varBLOB default '', |
524 | | - |
525 | 160 | img_sha1 varBLOB default '') /*$wgDBTableOptions*/; |
526 | 161 | |
527 | | - |
528 | | - |
529 | | - |
530 | | - |
531 | 162 | CREATE TABLE /*$wgDBprefix*/oldimage ( |
532 | | - |
533 | 163 | oi_name varchar(255) default '', |
534 | | - |
535 | | - |
536 | 164 | oi_archive_name varchar(255) default '', |
537 | | - |
538 | 165 | oi_size INTEGER default 0, |
539 | 166 | oi_width INTEGER default 0, |
540 | 167 | oi_height INTEGER default 0, |
— | — | @@ -542,7 +169,6 @@ |
543 | 170 | oi_user INTEGER default '0', |
544 | 171 | oi_user_text varchar(255) , |
545 | 172 | oi_timestamp BLOB default '', |
546 | | - |
547 | 173 | oi_metadata mediumblob , |
548 | 174 | oi_media_type TEXT default NULL, |
549 | 175 | oi_major_mime TEXT default "unknown", |
— | — | @@ -550,30 +176,15 @@ |
551 | 177 | oi_deleted tinyint default '0', |
552 | 178 | oi_sha1 varBLOB default '') /*$wgDBTableOptions*/; |
553 | 179 | |
554 | | - |
555 | | - |
556 | 180 | CREATE TABLE /*$wgDBprefix*/filearchive ( |
557 | | - |
558 | 181 | fa_id INTEGER PRIMARY KEY AUTOINCREMENT, |
559 | | - |
560 | 182 | fa_name varchar(255) default '', |
561 | | - |
562 | 183 | fa_archive_name varchar(255) default '', |
563 | | - |
564 | | - |
565 | | - |
566 | 184 | fa_storage_group varBLOB, |
567 | | - |
568 | | - |
569 | | - |
570 | | - |
571 | | - |
572 | 185 | fa_storage_key varBLOB default '', |
573 | | - |
574 | 186 | fa_deleted_user int, |
575 | 187 | fa_deleted_timestamp BLOB default '', |
576 | 188 | fa_deleted_reason text, |
577 | | - |
578 | 189 | fa_size INTEGER default '0', |
579 | 190 | fa_width INTEGER default '0', |
580 | 191 | fa_height INTEGER default '0', |
— | — | @@ -586,176 +197,91 @@ |
587 | 198 | fa_user INTEGER default '0', |
588 | 199 | fa_user_text varchar(255) , |
589 | 200 | fa_timestamp BLOB default '', |
590 | | - |
591 | 201 | fa_deleted tinyint default '0') /*$wgDBTableOptions*/; |
592 | 202 | |
593 | | - |
594 | | - |
595 | | - |
596 | | - |
597 | 203 | CREATE TABLE /*$wgDBprefix*/recentchanges ( |
598 | 204 | rc_id INTEGER PRIMARY KEY AUTOINCREMENT, |
599 | 205 | rc_timestamp varBLOB default '', |
600 | 206 | rc_cur_time varBLOB default '', |
601 | | - |
602 | 207 | rc_user INTEGER default '0', |
603 | 208 | rc_user_text varchar(255) , |
604 | | - |
605 | 209 | rc_namespace INTEGER default '0', |
606 | 210 | rc_title varchar(255) default '', |
607 | | - |
608 | 211 | rc_comment varchar(255) default '', |
609 | 212 | rc_minor tinyint default '0', |
610 | | - |
611 | | - |
612 | | - |
613 | 213 | rc_bot tinyint default '0', |
614 | | - |
615 | 214 | rc_new tinyint default '0', |
616 | | - |
617 | | - |
618 | | - |
619 | 215 | rc_cur_id INTEGER default '0', |
620 | | - |
621 | 216 | rc_this_oldid INTEGER default '0', |
622 | | - |
623 | 217 | rc_last_oldid INTEGER default '0', |
624 | | - |
625 | 218 | rc_type tinyint default '0', |
626 | 219 | rc_moved_to_ns tinyint default '0', |
627 | 220 | rc_moved_to_title varchar(255) default '', |
628 | | - |
629 | | - |
630 | | - |
631 | | - |
632 | 221 | rc_patrolled tinyint default '0', |
633 | | - |
634 | | - |
635 | 222 | rc_ip varBLOB default '', |
636 | | - |
637 | | - |
638 | 223 | rc_old_len int, |
639 | 224 | rc_new_len int, |
640 | | - |
641 | 225 | rc_deleted tinyint default '0', |
642 | | - |
643 | 226 | rc_logid INTEGER default '0', |
644 | | - |
645 | 227 | rc_log_type varBLOB NULL default NULL, |
646 | | - |
647 | 228 | rc_log_action varBLOB NULL default NULL, |
648 | | - |
649 | 229 | rc_params blob NULL) /*$wgDBTableOptions*/; |
650 | 230 | |
651 | 231 | CREATE TABLE /*$wgDBprefix*/watchlist ( |
652 | | - |
653 | 232 | wl_user INTEGER , |
654 | | - |
655 | | - |
656 | | - |
657 | 233 | wl_namespace INTEGER default '0', |
658 | 234 | wl_title varchar(255) default '', |
659 | | - |
660 | | - |
661 | 235 | wl_notificationtimestamp varBLOB) /*$wgDBTableOptions*/; |
662 | 236 | |
663 | | - |
664 | | - |
665 | | - |
666 | 237 | CREATE TABLE /*$wgDBprefix*/math ( |
667 | | - |
668 | 238 | math_inputhash varBLOB , |
669 | | - |
670 | 239 | math_outputhash varBLOB , |
671 | | - |
672 | | - |
673 | 240 | math_html_conservativeness tinyint , |
674 | | - |
675 | 241 | math_html text, |
676 | | - |
677 | 242 | math_mathml text) /*$wgDBTableOptions*/; |
678 | 243 | |
679 | | - |
680 | | - |
681 | | - |
682 | | - |
683 | | - |
684 | | - |
685 | | - |
686 | 244 | CREATE TABLE /*$wgDBprefix*/searchindex ( |
687 | | - |
688 | 245 | si_page INTEGER , |
689 | | - |
690 | 246 | si_title varchar(255) default '', |
691 | | - |
692 | 247 | si_text mediumtext ) ; |
693 | 248 | |
694 | | - |
695 | | - |
696 | 249 | CREATE TABLE /*$wgDBprefix*/interwiki ( |
697 | | - |
698 | 250 | iw_prefix varchar(32) , |
699 | | - |
700 | | - |
701 | | - |
702 | 251 | iw_url blob , |
703 | | - |
704 | | - |
705 | 252 | iw_local bool , |
706 | | - |
707 | 253 | iw_trans tinyint default 0) /*$wgDBTableOptions*/; |
708 | 254 | |
709 | | - |
710 | | - |
711 | 255 | CREATE TABLE /*$wgDBprefix*/querycache ( |
712 | | - |
713 | 256 | qc_type varBLOB , |
714 | | - |
715 | 257 | qc_value INTEGER default '0', |
716 | | - |
717 | 258 | qc_namespace INTEGER default '0', |
718 | 259 | qc_title varchar(255) default '') /*$wgDBTableOptions*/; |
719 | 260 | |
720 | | - |
721 | | - |
722 | 261 | CREATE TABLE /*$wgDBprefix*/objectcache ( |
723 | 262 | keyname varBLOB default '', |
724 | 263 | value mediumblob, |
725 | 264 | exptime datetime) /*$wgDBTableOptions*/; |
726 | 265 | |
727 | | - |
728 | | - |
729 | 266 | CREATE TABLE /*$wgDBprefix*/transcache ( |
730 | 267 | tc_url varBLOB , |
731 | 268 | tc_contents text, |
732 | 269 | tc_time INTEGER ) /*$wgDBTableOptions*/; |
733 | 270 | |
734 | 271 | CREATE TABLE /*$wgDBprefix*/logging ( |
735 | | - |
736 | 272 | log_id INTEGER PRIMARY KEY AUTOINCREMENT, |
737 | | - |
738 | | - |
739 | | - |
740 | 273 | log_type varBLOB default '', |
741 | 274 | log_action varBLOB default '', |
742 | | - |
743 | 275 | log_timestamp BLOB default '19700101000000', |
744 | | - |
745 | 276 | log_user INTEGER default 0, |
746 | | - |
747 | | - |
748 | 277 | log_namespace INTEGER default 0, |
749 | 278 | log_title varchar(255) default '', |
750 | | - |
751 | 279 | log_comment varchar(255) default '', |
752 | | - |
753 | 280 | log_params blob , |
754 | | - |
755 | 281 | log_deleted tinyint default '0') /*$wgDBTableOptions*/; |
756 | 282 | |
757 | 283 | CREATE TABLE /*$wgDBprefix*/trackbacks ( |
758 | 284 | tb_id INTEGER PRIMARY KEY AUTOINCREMENT, |
759 | | - tb_page INTEGER REFERENCES page(page_id) ON DELETE CASCADE, |
| 285 | + tb_page INTEGER REFERENCES /*$wgDBprefix*/page(page_id) ON DELETE CASCADE, |
760 | 286 | tb_title varchar(255) , |
761 | 287 | tb_url blob , |
762 | 288 | tb_ex text, |
— | — | @@ -763,60 +289,35 @@ |
764 | 290 | |
765 | 291 | CREATE TABLE /*$wgDBprefix*/job ( |
766 | 292 | job_id INTEGER PRIMARY KEY AUTOINCREMENT, |
767 | | - |
768 | | - |
769 | 293 | job_cmd varBLOB default '', |
770 | | - |
771 | | - |
772 | 294 | job_namespace INTEGER , |
773 | 295 | job_title varchar(255) , |
774 | | - |
775 | | - |
776 | 296 | job_params blob ) /*$wgDBTableOptions*/; |
777 | 297 | |
778 | 298 | CREATE TABLE /*$wgDBprefix*/querycache_info ( |
779 | | - |
780 | | - |
781 | 299 | qci_type varBLOB default '', |
782 | | - |
783 | 300 | qci_timestamp BLOB default '19700101000000') /*$wgDBTableOptions*/; |
784 | 301 | |
785 | 302 | CREATE TABLE /*$wgDBprefix*/redirect ( |
786 | | - |
787 | 303 | rd_from INTEGER default '0', |
788 | | - |
789 | | - |
790 | | - |
791 | | - |
792 | 304 | rd_namespace INTEGER default '0', |
793 | 305 | rd_title varchar(255) default '') /*$wgDBTableOptions*/; |
794 | 306 | |
795 | 307 | CREATE TABLE /*$wgDBprefix*/querycachetwo ( |
796 | | - |
797 | 308 | qcc_type varBLOB , |
798 | | - |
799 | 309 | qcc_value INTEGER default '0', |
800 | | - |
801 | 310 | qcc_namespace INTEGER default '0', |
802 | 311 | qcc_title varchar(255) default '', |
803 | | - |
804 | 312 | qcc_namespacetwo INTEGER default '0', |
805 | 313 | qcc_titletwo varchar(255) default '') /*$wgDBTableOptions*/; |
806 | 314 | |
807 | 315 | CREATE TABLE /*$wgDBprefix*/page_restrictions ( |
808 | | - |
809 | 316 | pr_page INTEGER , |
810 | | - |
811 | 317 | pr_type varBLOB , |
812 | | - |
813 | 318 | pr_level varBLOB , |
814 | | - |
815 | 319 | pr_cascade tinyint , |
816 | | - |
817 | 320 | pr_user INTEGER NULL, |
818 | | - |
819 | 321 | pr_expiry varBLOB NULL, |
820 | | - |
821 | 322 | pr_id INTEGER PRIMARY KEY AUTOINCREMENT) /*$wgDBTableOptions*/; |
822 | 323 | |
823 | 324 | CREATE TABLE /*$wgDBprefix*/protected_titles ( |
— | — | @@ -836,3 +337,4 @@ |
837 | 338 | CREATE TABLE /*$wgDBprefix*/updatelog ( |
838 | 339 | ul_key varchar(255) ) /*$wgDBTableOptions*/; |
839 | 340 | |
| 341 | + |